I\'ve seen somewhere that we can use >> in shell. What\'s the difference between using > and >> in shell?
'>>' will let you append data to a file, where '>' will overwrite it. For example:
# cat test test file # echo test > test # cat test test # echo file >> test # cat test test file