Home / Interview / Linux :: General Questions

Interview :: Linux

41) How to delete information from a file in vi?

The following commands are used to delete information from vi editors.

  1. x deletes a current character.
  2. dd deletes the current line.
42) How to create a new file or modify an existing file in vi?