currently mounted filesystems in nice layout

mount | column -t
Particularly useful if you're mounting different drives, using the following command will allow you to see all the filesystems currently mounted on your computer and their respective specs with the added benefit of nice formatting.
Sample Output
/dev/sda1   on  /                         type  ext3        (rw,relatime,errors=remount-ro)
tmpfs       on  /lib/init/rw              type  tmpfs       (rw,nosuid,mode=0755)
/proc       on  /proc                     type  proc        (rw,noexec,nosuid,nodev)
sysfs       on  /sys                      type  sysfs       (rw,noexec,nosuid,nodev)
varrun      on  /var/run                  type  tmpfs       (rw,nosuid,mode=0755)
varlock     on  /var/lock                 type  tmpfs       (rw,noexec,nosuid,nodev,mode=1777)
udev        on  /dev                      type  tmpfs       (rw,mode=0755)
tmpfs       on  /dev/shm                  type  tmpfs       (rw,nosuid,nodev)
devpts      on  /dev/pts                  type  devpts      (rw,noexec,nosuid,gid=5,mode=620)
fusectl     on  /sys/fs/fuse/connections  type  fusectl     (rw)
securityfs  on  /sys/kernel/security      type  securityfs  (rw)

295
By: thechile
2009-03-20 14:18:56

1 Alternatives + Submit Alt

What Others Think

Nice indeed. But some issues when there is whitespaces in mount point.
CodSpirit · 486 weeks and 6 days ago
Ye flipping gods! How did I go twenty years in *nix without finding out about column?
TheMightyBuzzard · 486 weeks and 6 days ago
That's what I'm talking about. These sort of commands are what make this site shine. Very nice.
atoponce · 486 weeks and 6 days ago
to TheMightyBuzzard : I've found "cd -" and this "columnt -t" today - 18 years of *nix :-)
vleolml · 479 weeks and 3 days ago
So Coooooooooooooool !!!
unixmonkey5001 · 467 weeks ago
findmnt is now superior.
dash · 269 weeks and 5 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: