
date - show date and time
whoami - show your userid
who - show who is logged onto the system
w - show who is logged onto the system
pwd - print the working directory's name
clear - clear the screen
ls -a - list all files in current directory
ls -al - long list of current directory
cat .cshrc - display contents of .cshrc file
mkdir dir1 - make a directory called dir1
cd dir1 - change directory to dir1
cd .. - change to parent directory
rmdir dir1 - remove directory dir1
cp .login new.login - copy the .login file to new.login
wc new.login - count the lines, words and
characters in the new.login file
wc -l new.login - count just the lines
rm new.login - remove the new.login file
cp .login testfile ; cat testfile
- copy a file and then show its contents
ls -l testfile ; rm testfile ; ls -l testfile
- list (long) a file, remove it, and then try to
list it again
cd GetStart
ls *
ls ???
ls [a-c]*
ls [abcde]*
ls [a-z]*
ls [z]*
ls ??[c]*
ls ?[e]*
cat alpha beta gamma > newfile ; cat newfile
man ls
man cp
man rm
man man
who
whoami
who am i
finger
finger your userid
logout
exit