How to Create and Read file Bash
In this example I will be showing you how to create file and read them with linux command.
//How to create a file in Linux: cat > nameOfTheFile.extension //How to close editing a script: Ctrl + D //How to run a script: cat nameOfTheFile.extension //Or nameOfTheFile.extension //Change right chmod 751 nameOfFile //mkdir bin cd bin //VI command vi add = edit file add :wq = quit and save :q! = quit without saving //Remove rm file
Total Views: 849
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/19/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.