================================================================================ Shell Prompt When you first login, you should see something like below: username$ This is a shell prompt that will accept your input. We are using the Korn Shell (ksh). This shell is how we interact with the computer. This environment is often called the "command line" because you type commands to the computer and it responds to you. We don't use mice or touchscreens much. Once you get used to it, you will come to like it. If you see a # dollar sign instead, it means you are logged in as the superuser (root). If you are root, you have system administrator powers. The superuser has total control over the computer, whereas a normal user has limited powers. In UNIX, every command must be run by a user. The $ sign you see at the beginning of the shell prompt means you are running as normal user. Note that all of our commands begin with either a $ dollar sign or # pound symbol: $ less .shell # whoami We don't actually type the $ dollar sign or # pound symbol. The $ dollar sign means to run the command as a normal user, and the # pound symbol means to run the command as superuser (root). If you type commands that don't exist: username$ ircnow of the users by the users for the users ksh: ircnow: not found The shell ksh (korn shell) will tell you the command is not found. ================================================================================ Practice Some Commands Press q to quit, then $ less .shell to return to this tutorial. To find out what user you are running as, type $ whoami To view the current date, type $ date To view a calendar, type $ cal To see how much space we have on our disk, type $ df Cool Tip: If you press the up arrow key, you can scroll through your previous commands. Press on the down arrow key to scroll through more recent commands. You can also use the left and right arrow key to edit your previous commands. To view all your old commands, type $ history To move on to the next level, open the file .unix102.txt (note the period in front): $ less .unix102.txt ================================================================================