adplus-dvertising
frame-decoration

Question

Which command is used to save and exit after editing a text file via vi command

a.

:nw

b.

:qw

c.

:wq

d.

:wn

Answer: (c).:wq

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which command is used to save and exit after editing a text file via vi command

Similar Questions

Discover Related MCQs

Q. Which command cannot be used to edit a text file from command line

Q. Which command can be used to check the name of a computer system in linux

Q. Database that contains the users, shares and features of a network is

Q. Most popular operating system on the planet is in the family of

Q. The neural interface was named as

Q. Product which can be separated into two products, one designated for user computers the other is network server is called

Q. If you need an operating system that provides data redundancy, operating system should contains

Q. In Linux rm file.text commend is used for

Q. In the command rm file.text of operating system program, file.txt is a

Q. Directories in Linux are known as

Q. Which of the following NIS clients returns the name of the NIS server used by the NIS client?

Q. Which of the following format of partition tables does Linux use?

Q. What command is used to list the jobs currently in print queues?

Q. What command is used to summarize the disk usage?

Q. What command is used to compare the files?

Q. What command is used to assign executable permission to the owner of the file named "letter"?

Q. What command is used with file named 'letter' to remove the executable permission from the user and assign read permission to the group and others?

Q. What command is used to assign only read permission to all three categories of the file'letter'?

Q. What command is used with vi editor to delete three words?

Q. What command is used to terminate a process?