JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Unix interview questions part 48
Unix interview questions part 48
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 19
1. To return back to the editor from shell prompt we use _____ command.
A. fg
B. exit
C. back
D. fg and exit
Show Correct Answer
Correct Answer is :
fg and exit
2. vi editor stores most of its information in a hidden swap file.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
3. To recover from a crash, we can use ____ command.
A. :recover
B. -r
C. : x
D. :recover and -r
Show Correct Answer
Correct Answer is :
:recover and -r
4. The following command will save the contents of the buffer and overwrites the contents of existing file. :w! file003
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
5. Input mode is used for ____________
A. editing text in files
B. invoking commands on files
C. saving files
D. performing substitution
Show Correct Answer
Correct Answer is :
editing text in files
6. Which command is used to insert text before the current cursor location?
A. a
B. A
C. I
D. i
Show Correct Answer
Correct Answer is :
i
7. Which command will be used to insert text at the beginning of the line?
A. i
B. I
C. a
D. A
Show Correct Answer
Correct Answer is :
I
8. To append text after the current cursor location, we can use ____ command
A. A
B. a
C. i
D. I
Show Correct Answer
Correct Answer is :
a
9. Which command appends text at the end of the current line?
A. A
B. a
C. i
D. I
Show Correct Answer
Correct Answer is :
A
10. To replace a single character, we use ____ command
A. r
B. R
C. s
D. i
Show Correct Answer
Correct Answer is :
r
11. vi automatically switches from command mode to input mode when we press ‘r’.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
12. To replace all text on the right of the cursor position, we use ____ command.
A. r
B. R
C. s
D. I
Show Correct Answer
Correct Answer is :
R
13. Which one of the following command is used to replace a single character with many?
A. s
B. r
C. R
D. S
Show Correct Answer
Correct Answer is :
s
14. To replace 5 characters with new characters, which one of the following will be used?
A. s
B. 5S
C. 5s
D. S
Show Correct Answer
Correct Answer is :
5s
15. To replace the entire line irrespective of cursor position, we can use ____ command
A. s
B. 10s
C. S
D. 10s
Show Correct Answer
Correct Answer is :
S
16. After using ‘s’ or ‘S’, we are automatically left in insert mode.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
17. Which command creates a space for entering a new line of text below the current cursor location?
A. o
B. O
C. a
D. S
Show Correct Answer
Correct Answer is :
o
18. To create a space for entering a new line of text above the current cursor location, ‘O’ command is used.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
19. Which of the following command is not used for entering or replacing text?
A. ‘a’ and ‘A’
B. ‘s’ and ‘S’
C. ‘r’ and ‘R’
D. :q
Show Correct Answer
Correct Answer is :
:q
Similar Interview Questions
Search for latest jobs
Find Jobs