How to create a CSV/Text file in linux terminal ?

Let’s start an empty file name data.csv and data.txt

$ touch data.csv
$ touch data.txt

Add data on this file simply

$ echo 'This is text'>data.txt

Add more data on existing file

$ echo 'Extra line added'>>data.txt

Done…

--

--

Mostafejur Rahman

I have completed my Bachelor's degree from Islamic University. I am interested in Software Engineering, Machine learning, Data Science, Cyber Security.