----- Original Message ----- > Consider when you type mount ( at least on OSX) > > $mount > /dev/disk0s2 on / (hfs, local, journaled) > devfs on /dev (devfs, local, nobrowse) > map -hosts on /net (autofs, nosuid, automounted, nobrowse) > map auto_home on /home (autofs, automounted, nobrowse) > > it gave me what I wanted, but it sure is sloppy. Let's see if we can't > clean things up a bit. > > $ mount | column -t > /dev/disk0s2 on / (hfs, local, journaled) > devfs on /dev (devfs, local, nobrowse) > map -hosts on /net (autofs, nosuid, > automounted, nobrowse) > map auto_home on /home (autofs, automounted, nobrowse) > > > column can be used on any bit of output that you want in clean > columns. > > This tip comes from reddit.com/r/linuxadmin > http://www.reddit.com/r/linuxadmin/comments/1x0ql2/whats_a_linux_command_you_wish_you_had_known/
Interesting command. I'll have to look at it again later. It did seem to help the columns line up, but I noticed that the example has varied output and made the columns not as useful. I could see using it possibly to correct text that was corrupted in a copy paste maybe. -- Steven Critchfield [email protected] -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
