Ksh Clobbering

The general format for redirecting output on Bash/ksh shell is:

command > output.txt
command > /dev/device

However, you may end up overwriting file accidentally using > operator. For example:

$ ls -l *.c > output.txt

{ Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum. }