Computer Science - Unix

Exercise :: Unix - Section 1

16. 

Which of the following keys is used to move the cursor to the end of the paragraph.

A. }
B. {
C. |
D. $
E. None of the above

Answer: Option A

Explanation:

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

17. 

Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?

A. cat emp[!0-9]
B. more [emp][!0-9]
C. cat emp[x-z]
D. cat emp[a-z]
E. None of the above

Answer: Option A

Explanation:

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

18. 

The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is

A. tee
B. tr
C. sort
D. grep
E. None of the above

Answer: Option A

Explanation:

The tee command reads standard input, then writes its content to standard output and simultaneously copies it into the specified file(s) or variables.

19. 

Which command is used to remove a file?

A. remove
B. rm
C. mv
D. del
E. None of the above

Answer: Option B

Explanation:

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

20. 

Which symbol is used to separate more than one command in the same command line?

A. $
B. #
C. :
D. ;
E. None of the above

Answer: Option D

Explanation:

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