adplus-dvertising
frame-decoration

Question

Which of the following is an invalid command?

a.

:r file01

b.

:e file01

c.

:e#

d.

:w # file01

Posted under UNIX

Answer: (d).:w # file01

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is an invalid command?

Similar Questions

Discover Related MCQs

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

Q. vi used ___ to enter control characters.

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

Q. Which of the following command is used for switching files?

Q. Which of the following is not a valid operator-command combination?

Q. To sort all lines from current cursor to end of line, ____ can be used.

Q. dw will ________

Q. For deleting the line form current cursor to the end of the line, we can use:

Q. An operator can’t perform any function without being combined with a command or itself.

Q. ____ searches for a first instance of a pattern in the backward direction.

Q. ____ searches for a first instance of a pattern in forwarding direction.

Q. Which of the following symbols are used for searching a pattern in vi?

Q. Which symbol is used for repeating the last command?

Q. ‘10u’ command will reverse our 10 last editing actions.

Q. Which command is used to redo the changes made by the undo command?

Q. ___ command allows us to undo a number of changes that have been made to a single line before moving away from that line.

Q. Which of the following undo a most recent single editing change?

Q. Which command will be used to join 4 lines with the current line?

Q. Which command is used for joining lines?

Q. We can use ‘yy’ command for copy and paste operation.