The append in linux is >??

sed-n "1320p" data.csv > data.csv if I write this, data.csv is empty? Why
I want to append or not delete the original content at the end

Mar.22,2021

change to


you can't write that, otherwise the file will indeed be emptied. Consider using sed-I .

Menu