Multiple choice technology operating systems

The command ls -l >> f1 would overwrite the contents of f1 with the output of the command ls -l .

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The '>>' operator appends output to a file without overwriting existing content. To overwrite, you would use the single '>' redirection operator. Therefore, 'ls -l >> f1' adds the ls output to the end of f1 rather than replacing its contents.