Phan Thị Thùy Dương
Member
How do you save a file in Unix?
Answer
Be sure to use the save command often when editing an important document.
…
bold.
Answer
Be sure to use the save command often when editing an important document.
…
bold.
:w | save changes (i.e., write) to your file |
|---|---|
:wq or ZZ | save changes to file and then qui |
:! cmd | execute a single command (cmd) and return to vi |
:sh | start up a new UNIX shell – to return to Vi from the shell, type exit or Ctrl-d |