Exercises

Command Line Tools Knowledge Assessment

Assess your knowledge of essential Unix command line tools in this beginner-friendly quiz. Test your understanding of common terminal commands used to navigate directories, view file contents, create folders, copy, move, rename, and delete files. Questions also cover finding text with grep, checking your current working directory with pwd, and displaying the date and time. Whether you are new to the terminal or reviewing core shell commands, this quiz is a practical way to strengthen your command line fundamentals.

Answer the questions below and check the explanation for each answer.

0/10 answered

  1. 1

    What does the command <b>ls</b> do in a Unix based command line?

  2. 2

    What is the purpose of the <b>cd</b> command?

  3. 3

    Which command is used to display the contents of a file in the terminal?

  4. 4

    How do you create a new directory using the command line?

  5. 5

    Which command is used to copy files or directories?

  6. 6

    Which command can be used to move or rename files?

  7. 7

    What does the <b>rm</b> command do?

  8. 8

    Which command lists the current directory path?

  9. 9

    What does the <b>grep</b> command do?

  10. 10

    How can you display the current date and time in the command line?

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate