Some simple VI Editor commands - for getting in and out

VI Editor

type i - to go into input mode 

ESC to go back to command mode

:quit (without saving)

:quit! (without saving)

:w  save without quitting

https://blogs.oracle.com/blogfinger/entry/mac_os_x_often_usedShow hidden files - 

defaults write com.apple.finder AppleShowAllFiles YES

*Note in Mavericks it must be a lower-case ‚f‘ for finder

restart 

Bash Profile

 

To access the Bash Profile using VI, (you might have to create it) go to Users/Henryvw.  This is also the appropriate folder to create your bash_profile if you do not already have one in the Users/Henryvw folder.

| Back

Footerfull