Friday, June 15, 2007

Linux command reference

Check out this cool link : lists commonly used unix commands - http://www.pixelbeat.org/cmdline.html





Geek to Live: Visualize your hard drive usage - Lifehacker
Command line: du (disk usage)

Not so much into this whole graphical user interface thing? Command-line lovers can also use the du (disk usage) command to get an idea of what's taking up what. The -h parameter makes the file sizes human readable. From Cygwin on Windows, or the Mac Terminal, cd into your directory of interest and try:





$ du * -h





The output will look something like:





28M FileFormatConverters.exe

28K LH_Logo_Store_Image.jpg

32K Lazy_Store_Image.jpg

5.3M photos-for-flickr

52K Travel form - small Word 03 - gtrapani.doc

28K Travel form - small.docx

16K emailnewgoogdocs.png







A few more du hints:







This article at Linux.com, Disk usage analysis and cleanup tools, also has more on du and other 'nix-based GUI tools.







Powered by ScribeFire.

No comments: