NEWS: Total Picture Views: 147068 | Total Article Views: 155681 | Top 5 Most Popular Article: 1. Am I Stuck Algorithm with Becker Robot | 2. How to read a JSON and work with it | 3. PickUpThings with Becker Robot | 4. Encrypted Data GUI (Download .Zip) | 5. Create Wall and Things with Becker

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

//Change right
chmod 751 nameOfFile

//mkdir bin
cd bin

//VI command
vi add = edit file add
:wq = quit and save
:q! = quit without saving

rm file
Attachments: None

Tags: Linux Create Read 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.

jean8mathieuCreated 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.