Open Source Server Administration
Exam 1
1. Which of the following is a definition a Linux shell?
2. Of the following, which operating system has been around the longest?
3. The part of the operating system that is loaded into RAM, and controls the physical hardware is called the ________.
4. Including the root directory, and given the path /app/ban/cor/dat/eg and if “eg” is a directory, the total number of directories in the path is:
5. The ability to run more than one program (or process) at the same time is called ______.
6. The terms KDE and GNOME refer to ______.
7. Which of the following is used in terms of describing how Linux is “licensed.”
8. In a Linux path, what character is used to separate the directory from the filename?
9. Which of the following is considered the root directory?
10. The ability to run one operating system within another is one example of _______.
11. A single file that comprised the contents of an entire CD or DVD sometimes goes by the acronym _____.
12. What command is used to execute another (single) command as the system administrator?
13. What software (or protocol) is used to remotely connect to the command-line interface of a Linux system?
14. Which of the following directories would contain common (normal user) commands in Linux?
15. Each user of Linux is given a separate directory within the ______ directory.
/home
/usr
/root
/user
/opt
/srv
16. If you are logged in as the user “reilley”, where does the command “cd ~” go to?
17. What command shows you what directory you are in?
18. Absolute paths must begin with ______.
19. Which directory will you be in, if you start in the directory /abl/bak/can and type “cd ..” ?
20. In Linux, the top-level directory is also called the _____ directory.
21. In Linux, options to commands typically begin with the ______ character.
22. What does the option”-a” do in the command “ls -a”?
23. What does the option “-l” do in the command “ls -l”?
24. Which of the following is NOT a part of a files permission?
25. Which of the following is a command to learn more about how to use another command?
26. Which of the following would show you all of the files in the current directory that begin with the letter “a” and end with the letter “z”?
27. How do you rename the file “abc” to become “def”?
28. What command creates an empty file (if the file does not already exist)?
29. Two directory entries that (directly) point to the same inode (and the same blocks of data) is an example of a (an) _____.
30. One directory entry that points to another directory entry (even one on a different file system) is an example of a (an) _______.
31. Which of the following is a text editor that you can use in a Terminal window (or on the system’s console)?
32. What command is used to label as file as being executable?
33. What allows a file to be able to be ran as an executable or a script?
34. After a “ls” command, you see a line beginning with “-rwxr-x---“ This means that anyone who is not the owner nor is in the “correct” group, can _______.
35. After a “ls” command, you see a line beginning with “-rwxr-x---“ This means that anyone who is not the owner but is in the “correct” group, can _______.
36. After a “ls” command, you see a line beginning with “-rwxr-x-w-“ This means that anyone who is not the owner nor is in the “correct” group, can _______.
37. Using the command “chmod a+x” on a file, will make it so ________ can execute the file.
38. Using the command “chmod g-w” on a file, will ______.
39. The first line in a script _______.
40. Which of the following a (bash) shell environment variable?
40. How are command-line arguments used in a bash script?
41. Which of the following can be used in bash scripts?
42. What command shows (only) the last few lines of a file?
43. What command shows the whole content of a file, but stops every “page full” and waits for the user to respond before continuing?
44. Linux permissions can be changed _________.
45. Linux permissions can be set on ______.
46. In terms of Linux file permissions, which is not a valid category?