CEG 433/633:
Operating Systems

 

College of Engineering & CS
Wright State University
Dayton, Ohio 45435-0001

Operating Systems

 

Prabhaker Mateti

 

A Minimal List of Unix Commands

  03/18/02

This is a list of standard Unix commands that you should be familiar with. The word "show" below means display to the stdout.

bash Bourne-Again Shell
bg background
cat show each file in sequence
chmod change the permission on a file
chown change the owner of a file
cmp compare two files
ddd the Data Display Debugger front end to gdb
df show mounted volumes, etc
du show disk blocks used for one or more directories
emacs the all-powerful text/binary editor; try xemacs also
env lists the current environment variables
fg foreground
grep print lines matching a pattern
kdbg KDE front end to debugger
kill kills a running program
ln creates a link between two files; try ln -s
ls list contents of directory; try ls -lisa
lynx WWW/News/Mail browser; try lynx news:wright.ceg.433
make maintain, update, and regenerate related programs and files
man show reference manual pages; try man -k
mkfs make (construct) a file volume
nohup run a command immune to hangups
od octal dump; try od -x file-name
ps shows current processes
set set/get and show the values of shell variables
source shell built-in: execute the cmds in a file
time a prefix to commands, times the command and prints page faults etc.
umask get/set the file mode creation mask
w who is on the system, and what they are doing
xxgdb GUI interface to gdb source code debugger
03/18/02 01:14:40 AM
Open Content Copyright © 2002 pmateti@cs.wright.edu