How to use the VI Editory Bash
This is the option you must use to quit,save or read a file.
You must press ESC to do this command:
|q!||Quit without saving changes i.e. discard changes|
|r fileName||Read data from file called fileName|
|wq||Write and quit (save and exit)|
|w fileName||Write to file called fileName (save as)|
|w! fileName||Overwrite to file called fileName (save as forcefully)|
To run your bash scirpt after you must do:
Total Views: 701
My name is Jean-Mathieu
I created this website so other people could enjoy finding useful stuff easier. If you have any question do not hesitate to contact me.
|jean8mathieu||Created on 01/20/15 and updated on 01/20/15|
Disclosure: We are a website that needs compensation to operate like any other website on the internet.
We may receive consideration for our reviews but we are totally unbiased and do not accept paid reviews or fake reviews claiming to be something they are not.