history
to see last 100 commands used.
For example, to repeat command 123 use:
!123
to repeat the previous command use:
!!
For other options see UNIX in a nutshell book.
alias dir ls # but please, do learn UNIX
CTRL-Z
stops the execution of the program
jobs
lists all running or stopped jobs
kill ID
terminates specific process ID
Example:
Suppose we have a program ./myprogram running.
To stop it type
CTRL-Z
To see what programs are running or stopped type
jobs
If you will see
1 myprogram stopped
you can kill this process by
kill %1
displays data about one or more users
Example:
finger youruserid
finger cs241
To change the information about yourself visible to everybody use:
chfn
and follow the instructions on the screen.
As mentioned above, the information can be viewed by anyone. Be thus sure you only include the kind of information everybody can know.
You may also include additional information stored in the file .plan in your home directory.
To create or change your .plan file type:
cd # this will switch into your home directory
vi .plan # opens the file
Hello (some message)
After saving the file try
finger youruserid
You will see the message: plan exists, but it is unreadable
(on the screen) because the file .plan is not world readable.
To change the permission type:
chmod a+r .plan
Where 'a' stands for "all" = user + group + other as explained earlier.