Thursday, March 21, 2013

Re: [LINUX_Newbies] Re: grub and how to delete "Ubuntu";two Linuxdistribution,I want to delete one distribution;gparted?

 



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

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (18)
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
.

__,_._,___

No comments:

Post a Comment