In order to append the output of ls to a file called bazz, which of the following command lines would you use?
A.
ls > bazz
B.
ls > & bazz
C.
ls &> bazz
D.
ls >> bazz
Explanation:
Use >> to append text to files (file will be created if it does not exist)
>, >& and &> redirect file descriptors (like stdout and stderr)