To create automatically a file do:
touch /path/to/file/filename
or
[ -f /path/to/file/filename ] || > /path/to/file/filename
to add text row
echo 'this is first row' >> /path/to/file/filename echo 'this is last row' >> /path/to/file/filename
To create automatically a file do:
touch /path/to/file/filename
or
[ -f /path/to/file/filename ] || > /path/to/file/filename
to add text row
echo 'this is first row' >> /path/to/file/filename echo 'this is last row' >> /path/to/file/filename