McMullin Questions Chapter 1
1.1 Logging in 1.1.1 Log In Log in with your userid: a) Are you prompted for a password? b) Why is your password not displayed as you type it? c) Are you asked for any other information? What? Is a default value provided? d) What is your command prompt? e) What does it mean? 1.1.2 Identify your terminal type Type the following commands and record the result (if any). Remember to press the Enter key at the end of each command line. echo $TERM tset -r a) What are the results of echo $TERM ? b) What are the results of tset -r ? 1.1.3 True or False? a) Two people on the same UNIX computer can have the same login. b) Each type of terminal has its own name. c) All users have passwords. d) Two people on the same UNIX computer can have the same password. e) Any user can use passwd to change someone else's password. 1.3 Basic Commands 1.3.1 Identify your shell's purpose Enter the command: ps a) What is a shell program? b) Name two things a shell program does for you. c) What command line shell program are you using? d) Can you run a shell inside a shell program? 1.3.2 Identify your current directory In your home directory, type the following command: pwd (Enter) a) What is your home directory? b) What is the parent directory? c) what is the root directory? d) Do all users have their own home directories? 1.3.3 Change Directories Enter each of the commands that follow and then use pwd to display your working directory a) cd .. b) cd - c) cd / d) cd 1.3.4 List the contents of a directory a) When you give the command