Engineering Network Services - CSU
| |
Unix Information
Other useful commands
These commands will definitely be useful to know.
| df -h |
Shows disk space usage on the system. NOTE: Doesn't show your own personal disk usages |
| du -sh |
Shows disk space usage for directories. Ex. du -sh ~yourLogin/../home Shows your disk space usage. |
| diff |
Compare two files and see what's different. Ex. diff file1 file2 |
| grep |
Search a file for key words in it. Ex. grep keyword *.txt |
Logout
-or-
exit |
End your UNIX session. |
| man |
Online help pages. Ex. man diff |
| more |
Display a file one page at a time. Ex. more file |
| who |
Shows who is logged into the system. |
| find |
Too complicated to explain here. Just do man find to learn how to use this. One Example: find . -name *.html -print This will find all files with a .html extension starting in the current directory. |
|
|
This document last modified Monday March 01, 2010