文档库 最新最全的文档下载
当前位置:文档库 › 《unix初级教程(第五版)(英文版)》Afzal_Chapter3

《unix初级教程(第五版)(英文版)》Afzal_Chapter3

《unix初级教程(第五版)(英文版)》Afzal_Chapter3
《unix初级教程(第五版)(英文版)》Afzal_Chapter3

Directions: Read each of the following statements. If you think a statement is true, select True. If you think a statement is false, select False.

1. You must login to use the system. It means that, in response to prompts you

type your user Id and password.

a. True

b. False

2. You terminate your session by turning off the terminal.

a. True

b. False

3. Options and arguments are necessary parts of each command.

a. True

b. False

4. At the end of each command line you must press the return key to signal the

completion of your command.

a. True

b. False

5. UNIX is not case sensitive, and you may type commands in lower or upper case

letters.

a. True

b. False

6. You can change your password as many times as you wish.

a. True

b. False

7. Only the system administrator can change your password.

a. True

b. False

8. UNIX is a case-sensitive system and command names are in lower-case.

a. True

b. False

9. Every command must have at least one argument.

a. True

b. False

10. There is no restriction on number of characters in the password.

a. True

b. False

11. The man command is issued to manage the computer resources.

a. True

b. False

12. Any user can change the system date and time using the date command.

a. True

b. False

13. Only the system administrator is authorized to change the system time.

a. True

b. False

14. Fields in the command line are separated by a space.

a. True

b. False

15. UNIX provides more than one shell and you can change your current shell to

another available shell.

a. True

b. False

Directions:Match the following commands to the corresponding descriptions. Place the letter that indicates your answer on the line in front of each command.

a. Command to change your password

b. Lists users of the system

c. Lists users and displays column headings

d. Shows calendar for the second month of the current year

e. On line system documentation

f. Displays date and time

g. The kill character

h. The command to end a session (to log off)

16. _____ who

17. _____ who -H

18. _____ date

19. _____ cal 2

20. _____ passwd

21. _____ man

22. _____ [Ctrl-d]

23. _____ [Ctrl-c]

Directions: Select the letter that indicates the best answer for the question.

24. The argument part in the command line cal 2 2001 is

a. cal

b. 2 and 2001

c. only 2001

d. all of the above

e. none of the above

25. The option part in the command line who -H am i is

a. who

b. am i

c. -H

d. -H and am i

e. who -H

26. The $ prompt

a. indicates UNIX is ready to accept your next command

b. indicates the end of the session

c. indicates the beginning of a session

d. indicates system failure

e. indicates nothing and you can erase it

27. You log in to the system by

a. turning the terminal on

b. answering to the login prompt by typing your User Id

c. typing start

d. typing ready

e. none of the above

28. You log off from the system by

a. typing exit command or [Ctrl-d] key

b. typing good bye

c. just turning the terminal off

d. none of the above

29. The command to change your password is

a. passwd

b. password

c. PassWord

d. PWD

e. change pwd

30. Your password

a. must be at least six characters

b. must contain at least two characters and one number

c. must differ from your User Id

d. all of the above

e. none of the above

31. The end of the command line is indicated by

a. pressing the [Esc] Key

b. pressing the period [.] key

c. pressing the [End] key

d. pressing the [Return] Key

e. pressing the [Ctrl-d] key

32. The command options are

a. mandatory part of the command line

b. optional part of the command line

c. the same for all commands

d. placed before the command name

e. placed after the argument field

33. The command arguments are

a. mandatory part of the command line

b. optional part of the command line

c. the same for all commands

d. placed before the command name

e. placed before the option field

34. The command to display the calendar for January 2001 is

a. cal Jan 2001

b. cal 1 2001

c. calendar 2001 1

d. cal 1/1/2001

e. cal Month: 1 Year: 2001

35. The interrupt character is used to

a. log off

b. terminate a running program

c. erase the entire command line

d. turn the system off

e. delete a character from the command line

36. The Bourne shell is

a. super set of the Korn shell

b. superset of the C shell

c. just like the C shell

d. the standard shell

e. none of the above

37. The init program

a. initializes the shell

b. checks your password

c. activates the getty program for each terminal

d. initializes the terminal session

e. none of the above

38. Linux provides some alternative and new command options. When used, these

command options are preceded by

a. --(dash dash)

b. - -(dash space dash)

c. YY(dot dot)

d. -(dash)

e. - (dash space)

1. True

2. False

3. False

4. True

5. False

6. True

7. False

8. True

9. False

10. False

11. False

12. False

13. True

14. True

15. True

16. b

17. c

18. f

19. d

20. a

21. e

22. h

23. g

24. b

25. c

26. a

27. b

28. a

29. a

30. d

31. d

32. b

33. b

34. b

35. b

36. d

37. c

38. a

相关文档