The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 11-20-2008
rk4k rk4k is offline
Registered User
  
 

Join Date: Nov 2008
Location: /planet-earth/indonesia/jakarta/
Posts: 11
Talking

That would be :

Code:
df -k | tr -s " " | sed 's/ /, /g' | sed '1 s/, / /g'
I'm too still practicing how to "sed"ing properly.