S5 version Table of Contents (frame/ no frame)
(27) Shell commands Previous Top Next

Shell commands

Some quick shell commands to try:

These commands are all csh/tcsh internal commands, designed to make life easier at the command line
source .cshrc [.login]
Re-reads your log in files as if(almost) you had logged in again. Good for making changes to login files and testing them. Don't make changes to log in files and then log out and back in to test them. You might not be able to log back in.
history
Shows you the history of commands that you have issued. You can raise or lower this number.
[Up Arrow]/[Down Arrow]
The Up/Down arrow keys will move through the history list of previous commands, so that you can re-execute them with minmal retyping.
!!
Execute the last command again.
!23
Execute command number 23 again.
alias
Shows aliases. An alias is a command shortcut. Can make things much simpler and faster.
alias his history
Creates an alias called "his" for the command "history".

Previous Top Next


slide28.src  last modified Jan 31, 2011 Introduction Table of Contents
(frame/no frame)
Printable
(single file)
© Dartmouth College