1) Which of the following keys is used to move the cursor to the end of the paragraph
- }
- {
- |
- $
2) The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is
- Tee
- Tr
- Sort
- Grep
3) Which command is used to remove a directory
- Rd
- Rmdir
- Dldir
- Rdir
4) Which of the following keys is used to replace a dingle character with new text
- S
- s
- r
- C
5) Which command is used to extract a specific columns from the file
- Cat
- Cut
- Grep
- Paste
6) Which command sends the word count of the file infile to the newfile.
- wcinfile>newfile
- wc<infile>newfile
- wcinfile – newfile
- wcinfile | newfile
7) Which command is used to remove the read permission of the file ‘note’ from both the group and others?
- chmodgo+r note
- chmodgo+rw note
- chmod go-x note
- chmod go-r, 4-x note
8) Which command is used to concatenate all files beginning with the string ’emp’ and followed by a non-numeric characters?
- cat emp[!0-9]
- more [emp][!0-9]
- cat emp[x-z]
- cat emp[a-z]
9) Which command will be used with vi editor to insert text to left of cursor?
- s
- S
- a
- i
10) In vi editor, forward search is performed using the command.
- :pat
- :pat
- /pat
- All of the above
—
Correct Answers
1) A
2) A
3) B
4) B
5) B
6) A
7) D
8) A
9) D
10) D