Unix – Section 2

36. Which command is used to copy a file wb with the same name from the programs directory to the misc directory?

A. copy programs/wb misc/wb
B. cp programs/wb misc
C. tar programs/wb misc/wb
D. copy a:programs/wb b:misc/wb
E. None of the above

Correct Answer: B. cp programs/wb misc

37. Which is the earliest and most widely used shell that came with the UNIX system?

A. C shell
B. Korn shell
C. Bourne shell
D. Smith shell
E. None of the above

Correct Answer: C. Bourne shell

38. The seventh field of /etc/password is

A. password
B. login
C. shell
D. home
E. None of the above

Correct Answer: C. shell

39. Which command is used to display the end of the file?

A. head – r
B. tail
C. eof
D. bof
E. None of the above

Correct Answer: B. tail

40. Which command is used to create a directory?

A. crdir
B. md
C. mkdir
D. cr
E. None of the above

Correct Answer: C. mkdir

Leave A Comment?

three × five =