Tips related to

Friday, 9 July 2010

USEFUL UNIX Commands:


These ten commands are useful for monitoring system access, or simplifying your own environment.

CommandExampleDescription
1. dfdfSee how much free disk space
2. dudu -b subdirEstimate disk usage of directory in Bytes
3. aliasalias lls="ls -alF"Create new command "lls" for long format of ls
4. xhostxhost + threat.tjhsst.edu
xhost -
Permit window to display from x-window program from threat
Allow no x-window access from other systems
5. foldfold -s file1 | lprFold or break long lines at 60 characters and send to printer
6. tartar -cf subdir.tar subdir
tar -xvf subdir.tar
Create an archive called subdir.tar of a directory
Extract files from an archive file
7. ghostview (gv)gv filename.psView a Postscript file
8. ping
(traceroute)
ping threat.tjhsst.edu
traceroute www.yahoo.com
See if machine is alive
Print data path to a machine
9. toptopPrint system usage and top resource hogs
10. logout (exit)logout or exitHow to quit a UNIX shell.

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | 100 Web Hosting