Dr. Mark Humphrys

School of Computing. Dublin City University.

Home      Blog      Teaching      Research      Contact

Search:

CA216      CA249      CA318

CA400      CA651      CA668


Linux Quiz 1

NOT for marks. Just for practice.
I give this in the style of a form in which you can organise your answers. But N.B. There is nowhere to "submit" to. Your answers are lost when you log out.
If you want to keep your answers, save them in a text file.


  1. Typing "pwd" causes what to happen?

  2. Typing "cd" causes what to happen?

  3. The "cd" command (then hit return) followed by the "pwd" command does what?

  4. The commands "cd" followed by "mkdir stuff" are run, what happens?

  5. The commands "cd /" followed by "mkdir stuff" are run, what happens?

  6. The directory / is what?

  7. The directory /bin is what?

  8. Show me what is in /bin

  9. The command ls -l does what?

  10. The command ls -al does what?

  11. The command ls -lF does what?

  12. I am in the directory /stuff/and/things and I type: cd more/things - What directory am I in now?

  13. I am in the directory /stuff/and/things and I type: cd /more/things - What directory am I in now?

  14. I am in the directory /stuff/and/things and I type: cd ../../more/things - What directory am I in now?

  15. By typing in cd / what happens?

  16. By typing in cd \ what happens?

  17. On Windows command line, by typing in cd \ what happens?

  18. On Windows command line, by typing in cd / what happens?