Bash script that writes to files
Hi,
I'm trying to make a bash script that will write to a file. Normally you'd say "just use echo "..." >file.txt" but I'm not looking for that. I want to be able to write to the end of the file. Is there a way to count the lines from the file and then write at the bottom of it ? I'm sure there is, but I can't find it.
Is there anybody who could tell me some sites with examples of this kind of file writing or something like that ?
Thanks in advance !
Kind regards,
Steve
|