Summary of Basic UNIX Commands


ls
list the files in the current directory
(directory names show with a / at the end)
ls -la
list all the files in the current directory including the . (dot) hidden files
rm filename
delete a file
cp oldfilename newfilename
make a copy a file with a new name (old file still exists)
mv oldfilename newfilename
rename a file (old file name no longer exists)
more filename
display the contents of a file on screen
(press Enter to see one more line, space for one more page, q to quit)
pico filename
Use the Pico editor to work on a file
mkdir directoryname
create a new directory
cd directoryname
change to a directory
cd ..
move back up a directory level
cd ~
move to your home directory from wherever you currently are
rmdir directory name
remove a directory
pwd
"print working directory" or show which directory you are currently in
passwd
change the password for your computing account
fs listquota
find out how much disk space you have left on your GPU account
fs listacl ~yourid
show the access control rights to your home directory on GPU
who | more
find out who is currently logged on to GPU
who am i
display GPU information about yourself
talk userid
communicate on-line with another user
mesg n
prevent others from interrupting you with a talk request
man command
look through the UNIX manual pages for help with a specific command


© CNS Electronic HelpDesk, University of Alberta.
Questions or Comments please e-mail helpdesk@ualberta.ca.
Last updated: January 1999