Computer Science - Unix

Exercise :: 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

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

38. 

The seventh field of /etc/password is

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

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

40. 

Which command is used to create a directory?

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

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.