version control coursera week 2 quiz answers

Knowledge Check: Unix Commands

1. The options you pass to a command are known as _____________.

  • Flags
  • Chips
  • Keys

2. What command do you use to change directory?

  • pwd
  • ls
  • cd

3. What command do you use to move files and directories?

  • rm
  • mv
  • cp

4. To pass the output from one command as the input to another command, what do you use?

  • Pipes
  • Grep

5. What command do you use to create a directory?

  • cd
  • mkdir
  • pwd

Module Quiz: Command Line

6. What command do you use to print the current working directory?

  • cat
  • cd
  • pwd

7. What command do you use to search text content?

  • grep
  • mkdir
  • ls

8. Which of the following are standard input/output (I/O) streams? Select all that apply.

  • stdout
  • stderr
  • stdin

Shuffle Q/A 1

9. Pipes are used to pass the output of one command as input to another command.

  • True
  • False

10. What command do you use to list files and directories?

  • cd
  • ls
  • mkdir

Leave a Reply