I got a set of datas after executing sed command, now I want to append this output to my table in mysql(not overwriting just append). But I am not sure if its possible. Any example?
sed -e "0,/$timestamp/d" /home/xxx/xx > "To Mysql"
Then the SQL will be slightly different, but the concept of feeding something to MySQL from Bash will remain the same. If you need help with figuring out how to tell SQL to add something to an existing table, you need to articulate that in the question. (Hint: The SQL command insert into.)
insert into.)