Good afternoon
Do Mär 21 13:34:19 2013
Thank You for help



$ mount | -column -t

mount | -column -t
Der Befehl »-column« wurde nicht gefunden, meinten Sie vielleicht:
  Befehl »column« aus dem Paket »bsdmainutils« (main)
-column: Befehl nicht gefunden.
ah@ah-ThinkCentre-M57p:~$

Sorry
there was a mistake
Sorry the reaction is German.



This displays all mounted devices along with their mount point sorted 
nicely in columns. Makes it easier to read.

You can achieve the same with the df-command though:

$ df -PhT | sort -nk6

:~$ df -PhT | sort -nk6
Dateisystem    Typ      Größe Benutzt Verf. Verw% Eingehängt auf
none           tmpfs     5,0M       0  5,0M    0% /run/lock
none           tmpfs     100M     40K  100M    1% /run/user
tmpfs          tmpfs     748M    780K  748M    1% /run
udev           devtmpfs  1,9G    4,0K  1,9G    1% /dev
none           tmpfs     1,9G     26M  1,9G    2% /run/shm
/dev/sda1      ext3       38G    6,8G   30G   19% 
/media/ah/1b8c42c0-1f30-4158-8787-a708a4f7d4e2
/dev/sda6      ext4       30G     14G   15G   48% /
~$


I did.



This prints all partitions currently mounted, sorted by the percentage 
the partition space is used in ascending order (the option -nk 6 does 
that, it sort the 6th column, witch usage in percent)
The option 'T' means it displays the respective file systems, too, for 
each partition. Leaving that out, you would have the change to command to:

$ df -Ph | sort -nk5

df -Ph | sort -nk5
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
none            5,0M       0  5,0M    0% /run/lock
none            100M     40K  100M    1% /run/user
tmpfs           748M    780K  748M    1% /run
udev            1,9G    4,0K  1,9G    1% /dev
none            1,9G     27M  1,8G    2% /run/shm
/dev/sda1        38G    6,8G   30G   19% 
/media/ah/1b8c42c0-1f30-4158-8787-a708a4f7d4e2
/dev/sda6        30G     14G   15G   48% /
p:~$

I did.




in order to get same sorting according to disk usage.

Note: You do not need root permission to execute the commands mentioned 
above.
*
Thank You.
]


Regards
Sophie



------------------------------------

To unsubscribe from this list, please email 
linux_newbies-unsubscr...@yahoogroups.com & you will be removed.Yahoo! Groups 
Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    linux_newbies-dig...@yahoogroups.com 
    linux_newbies-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    linux_newbies-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to