Skip to content
KALANBLON
Show contents

Chapter 3 of 7 · 10 min

Quiz: finding your way in the terminal

File tree, paths, files, wildcards and deletion: let's check that you can find your way in the terminal. You need 70% correct answers, and every answer is explained.

Quiz

7 questions · pass mark: 70%

  1. 1.You are in /home/awa/projet. Where does cd ../photos take you?

    One answer

  2. 2.Which of these paths is absolute?

    One answer

  3. 3.What does liste.txt contain after these two commands?

    One answer

    echo riz > liste.txt
    echo huile > liste.txt
  4. 4.In a folder containing a1.txt, a2.txt, a10.txt and b1.txt, which files does a?.txt match? (several answers)

    Several answers possible

  5. 5.You deleted a file by mistake with rm. What can you do?

    One answer

  6. 6.Complete the command to copy the site folder and all its contents into sauvegarde.

    Complete the code

    cp ___ site sauvegarde/
  7. 7.Why write find . -name "*.jpg" with quotes?

    One answer

Your progress is saved on this device. Create a free account to keep your progress on all your devices.