Engineering Network Services - CSU

Engineering Network Services

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
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.

layout image
layout image

This document last modified Monday January 25, 2016

Engineering Network Services home page link College of Engineering home page link