I want to write, a script output into logfile at the end with new line..
with this command, it replace the file.
echo "hai" > /tmp/syslog.txt
but I need add "hai" with existing file content at the end with new line..
thanks in advance..
I want to write, a script output into logfile at the end with new line..
with this command, it replace the file.
echo "hai" > /tmp/syslog.txt
but I need add "hai" with existing file content at the end with new line..
thanks in advance..