Unix interview questions part 20

Unix interview questions part 20

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?

Correct Answer is : :e

2. For returning back to the original file after switching we can use:

Correct Answer is : ctrl-^ and :e#

3. When multiple filenames are used with vi, we can switch to next file using ___ command.

Correct Answer is : :rew

4. We can move back to the previous file using ____ command.

Correct Answer is : :rew

5. :r !date inserts the output of date command in our file.

Correct Answer is : TRUE

6. To split the screen into multiple windows, we can use ____ command.

Correct Answer is : :sp

7. To create a new window, ____ can be used.

Correct Answer is : :n

8. To remove all other windows except the current one, which of the following command is used?

Correct Answer is : :on

9. vi editor has ____ named buffers.

Correct Answer is : 26

10. To restore a number of recent deletions, numbered buffers are used.

Correct Answer is : TRUE

11. For restoring the contents of numbered buffers efficiently, ___ command is used.

Correct Answer is : .

12. The technique of restoring line deletions from numbered buffers is applicable only to entire lines.

Correct Answer is : TRUE

13. vi used ___ to enter control characters.

Correct Answer is : ctrl-v

14. To append contents of buffer to file01, we can use __________

Correct Answer is : : w >> file01

15. Which of the following is an invalid command?

Correct Answer is : :w # file01

16. What is UNIX?

Correct Answer is : an operating system

17. In which language UNIX is written?

Correct Answer is : C

18. Which of the following is not a feature of UNIX?

Correct Answer is : easy to use

19. Which of the following is not a part of all the versions of UNIX?

Correct Answer is : Graphical user interface

20. Which of the following is not true about UNIX?

Correct Answer is : UNIX was not written in ā€˜Cā€™ language

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon