JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Unix interview questions part 20
Unix interview questions part 20
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Which of the following command is used for switching files?
A. :e
B. e!
C. !e
D. !r
Show Correct Answer
Correct Answer is :
:e
2. For returning back to the original file after switching we can use:
A. :e!
B. ctrl-^
C. :e#
D. ctrl-^ and :e#
Show Correct Answer
Correct Answer is :
ctrl-^ and :e#
3. When multiple filenames are used with vi, we can switch to next file using ___ command.
A. new
B. :n
C. :rew
D. :prev
Show Correct Answer
Correct Answer is :
:rew
4. We can move back to the previous file using ____ command.
A. new
B. :n
C. :rew
D. :prev
Show Correct Answer
Correct Answer is :
:rew
5. :r !date inserts the output of date command in our file.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
6. To split the screen into multiple windows, we can use ____ command.
A. :sp
B. :new
C. :n
D. :r
Show Correct Answer
Correct Answer is :
:sp
7. To create a new window, ____ can be used.
A. :sp
B. :new
C. :n
D. :r
Show Correct Answer
Correct Answer is :
:n
8. To remove all other windows except the current one, which of the following command is used?
A. :on
B. :new
C. :n
D. :r
Show Correct Answer
Correct Answer is :
:on
9. vi editor has ____ named buffers.
A. 2
B. 4
C. 26
D. 5
Show Correct Answer
Correct Answer is :
26
10. To restore a number of recent deletions, numbered buffers are used.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
11. For restoring the contents of numbered buffers efficiently, ___ command is used.
A. .
B. $
C. :nb
D. :q
Show Correct Answer
Correct Answer is :
.
12. The technique of restoring line deletions from numbered buffers is applicable only to entire lines.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
13. vi used ___ to enter control characters.
A. ctrl-w
B. ctrl-v
C. ctrl-d
D. esc
Show Correct Answer
Correct Answer is :
ctrl-v
14. To append contents of buffer to file01, we can use __________
A. : w >> file01
B. :r > file01
C. :w > file01
D. :r >> file01
Show Correct Answer
Correct Answer is :
: w >> file01
15. Which of the following is an invalid command?
A. :r file01
B. :e file01
C. :e#
D. :w # file01
Show Correct Answer
Correct Answer is :
:w # file01
16. What is UNIX?
A. an operating system
B. a text editor
C. programming language
D. software program
Show Correct Answer
Correct Answer is :
an operating system
17. In which language UNIX is written?
A. JAVA
B. Python
C. C++
D. C
Show Correct Answer
Correct Answer is :
C
18. Which of the following is not a feature of UNIX?
A. multitasking
B. multiuser
C. portability
D. easy to use
Show Correct Answer
Correct Answer is :
easy to use
19. Which of the following is not a part of all the versions of UNIX?
A. Kernel and Shell
B. Commands and utilities
C. Graphical user interface
D. System Calls
Show Correct Answer
Correct Answer is :
Graphical user interface
20. Which of the following is not true about UNIX?
A. Many people can use a UNIX based computer at the same time; hence UNIX is called as a multiuser system
B. A user can run multiple programs at the same time; hence UNIX is called a multitasking environment
C. UNIX was not written in āCā language
D. Linux is also known as a version of UNIX
Show Correct Answer
Correct Answer is :
UNIX was not written in āCā language
Similar Interview Questions
Search for latest jobs
Find Jobs