|
Unix Command
|
Syntax
|
What does it do??
|
|
cd
|
cd (directory)
|
Changes directories to directory, default is your home directory
|
|
cp
|
cp (file) (location)
|
copies a file to a location
(a "." for location means the directory you are in)
|
|
dir
|
- dir (directory)
- dir -l (filename)
|
- same as ls (directory)
- same as ls -l (filename)
|
|
kill
|
- kill -9 (process id)
- kill -1 -1
|
- kills the process with (process id)
- kills all the user's processes
|
|
lpr
|
- lpr (filename)
- lpr -P(printer name) (filename)
|
- print the (filename) to the default printer
- print the (filename) to the (printer name) printer
|
|
ls
|
- ls (directory)
- ls -l (file)
- ls -a
|
- list the main files in the
current directory (default is the current directory)
- lists a certain file
- lists all the files (including hidden) in the current directory
|
|
man
|
man (command)
|
gives information on command
|
|
mkdir
|
mkdir (directory name)
|
creates directory
|
|
mv
|
mv (filename) (location)
|
moves a file to a location
|
|
passwd
|
passwd
|
allows you to change your password
|
|
ps
|
ps
|
lists your processes
|
|
rm
|
rm (filename)
|
removes/deletes the file
|
xterm
color_xterm
|
- xterm
- color_xterm
|
- brings up an xterm
- brings up an xterm with color
|