Beginning vi

The default editor that comes with the UNIX operating system is called vi (visual editor). vi is case sensitive.

start vi
vi

quit vi
# quit and save
:x

# quit and save
:wq

# quit vi
:q

# quit without saving
:q!

start insert mode
press i key

turn off insert mode
press (Escape) key

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
Share and Enjoy
  • Facebook
  • Twitter
  • LinkedIn
  • del.icio.us
  • StumbleUpon
  • RSS
  • email
  • PDF

Published by

Samuel

Ph.D. Student in the Department of Computer and Systems Sciences, Stockholm University.

Leave a Reply

Your email address will not be published.

*