Đỗ Chí Hải
New member
What is the difference between and >> in Linux?
Answer
So, what we learned is, the “>” is the output redirection operator used for overwriting files that already exist in the directory. While, the “>>” is an output operator as well, but,
it appends the data of an existing file
. Often, both of these operators are used together to modify files in Linux.
Answer
So, what we learned is, the “>” is the output redirection operator used for overwriting files that already exist in the directory. While, the “>>” is an output operator as well, but,
it appends the data of an existing file
. Often, both of these operators are used together to modify files in Linux.