UNIX Quick Reference Guide

This table contains some common UNIX commands
that are compared with popular MS DOS commands.

Commands for Directories and Files

Description  UNIX MS DOS
paths  /root/direct1/direct2/file  a:\direct1\direct2\file
current directory 
parent directory  ..  ..
home directory  ~
change directory  cd  cd
make directory  mkdir  mkdir 
remove directory  rmdir  rmdir
print working directory  pwd
list contents of a directory  ls  dir 
list contents of file cat file type file
page through contents of file more file type file | more
copy source to target cp source target copy source target
erase file rm file delete file
rename source to target mv source target ren source target
wild card character  *


This table contains some commands that will be useful on any UNIX system.

Miscellaneous UNIX Commands

initiate a UNIX session  login
terminate a UNIX session  exit
change account password  passwd 
access on-line manual pages  man command
display users currently logged in  who
search file for pattern grep pattern file
display different lines between two files  diff file1 file2
display currently running processes  ps
terminate currently running processes  kill -9 PID
remote login session  telnet machine.address
transfer of remote files  ftp machine.address
FORTRAN 90 compiler  f90 file.f90
Native C compiler  cc file.c
GNU C compiler  gcc file.c
GNU C++ compiler  g++ file.cpp
SDK Java compiler javac file.java
SDK Java interpreter java file
SDK Java Applet Previewer appletviewer file.html
VNC command to return port number vncserver

File translated from TEX by TTH, version 0.9.

Send corrections and comments to somplski@oakton.edu