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

Correct Answer: A. }

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

Correct Answer: A. cat emp[!0-9]

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

Correct Answer: A. tee

19. Which command is used to remove a file?

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

Correct Answer: B. rm

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

Correct Answer: D. ;

Leave A Comment?

four × 3 =