QuestionQ3

Engagement Methodology and Project Planning

Which of the following describes the outcome of this UNIX command?

cat /home/ubuntu/lbappinfo

  • A List all files and directories under the lbappinfo directory
  • B Determine if a file starting with lbappinfo exists in the ubuntu directory
  • C Display any lines in the lbappinfo file containing the word cat
  • D Display the contents of the file lbappinfo
Explanation

cat outputs the contents of the file named by its path to standard output.

Community Discussion

No comments yet. Be the first to start the discussion!