next up previous contents
Next: Logging out Up: UNIX and csli Previous: Logging on

UNIX commands

When you have logged in, UNIX will run for you a special program called a shell. The shell gives you some kind of prompt (ending in >), at which you can type in a command. When you hit Return, the computer will execute the command, often typing output back at you. When you get another prompt, the computer is ready for the next command.

The simplest type of command for UNIX is a simple word, followed by Return. For example, if you type

date
the system will print the current date and time. Henceforth I will refrain from mentioning that you need to hit the Return key after each command.

This would be a good time to set your password. You were probably assigned a password with your account name, but you should change it to one of your own. To do this, type the command

passwd
You will then be prompted for your old password, and then your new one. Since these do not display on the screen (for obvious security reasons), you will be asked to type the new one in again, to make sure you didn't make a typo. Of course, you need to hit Return after each password.