Skip to main content

Posts

Showing posts with the label vi

Basic vi Commands

http://www.cs.colostate.edu/helpdocs/vi.html 1. open file: vi filename 2. enter the insert mode: i 3. turns off the Insert mode: 4. enter command model: shift + : 5. exit vi: q exit vi and save file: wq exit vi and not save file: q! 6. delete entire current line: dd