Multiple choice

What does that cat function on the command line do?

  1. tells you what directory you are in

  2. changes the directory

  3. Outputs what is in the file

  4. deletes data

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

In Unix-like command-line interfaces, the 'cat' command (short for concatenate) is used to display the contents of a file to the standard output.