Question
Question 1 (1 point) Which of the following is a root directory in Linux? Confusion alert (root directory vs. root's home directory) - every Linux
Question 1 (1 point)
Which of the following is a root directory in Linux?
Confusion alert (root directory vs. root's home directory) - every Linux system contains a user named root. User root has her/his own home directory. This is usually /root. We call this the root's home directory. This is different from the root directory on a Linux system.
Question 1 options:
|
| ||
|
| ||
|
| ||
|
|
View hint for Question 1 |
Question 2 (1 point)
Which of the following can be valid pathnames in Linux?
Please select all that apply.
Question 2 options:
|
| ||
|
| ||
|
| ||
|
|
View hint for Question 2 |
Question 3 (1 point)
What types of files can you expect to find in the /etc directory?
Question 3 options:
|
| ||
|
| ||
|
| ||
|
|
View hint for Question 3 |
Question 4 (1 point)
Which of the following are examples of editors in Linux?
Please select all that apply.
Question 4 options:
| milli |
| nano |
| pico |
| vi |
Question 5 (1 point)
What do up/down arrows at the command prompt in BASH do?
Question 5 options:
|
| ||
|
| ||
|
| ||
|
|
Question 6 (1 point)
What does the touch command do? Use man, if needed, to answer this question.
Question 6 options:
|
| ||
|
| ||
|
|
Question 7 (1 point)
How is pushd different from cd?
Question 7 options:
|
| ||
|
| ||
|
|
Question 8 (1 point)
Which of the following is the default shell on most Linux installations?
Question 8 options:
|
| ||
|
| ||
|
| ||
|
|
Question 9 (1 point)
What does a shell do on a Linux machine?
Question 9 options:
|
| ||
|
| ||
|
| ||
|
|
View hint for Question 9 |
Question 10 (1 point)
Which of the following is true about the PATH environment variable?
Question 10 options:
|
| ||
|
| ||
|
| ||
|
|
View hint for Question 10 |
Question 11 (1 point)
What is the delimiter used to separate various directories in the PATH environment variable?
Question 11 options:
|
| ||
|
| ||
|
| ||
|
|
View hint for Question 11 |
Question 12 (1 point)
What is the first directory in the PATH after the execution of this command: export PATH=$PATH:/usr/bin? The answer is specific to rucs.radford.edu .
Question 12 options:
|
| ||
|
| ||
|
| ||
|
|
Question 13 (1 point)
Which of the following demonstrates the command to add a directory /root to the end of the PATH environment variable?
Question 13 options:
|
| ||
|
| ||
|
| ||
|
|
Question 14 (1 point)
Which command would you use to print all the environment variables?
Question 14 options:
|
| ||
|
| ||
|
| ||
|
|
View hint for Question 14 |
Question 15 (1 point)
Question 15 options:
The variable HISTSIZE stores the amount of history that bash stores. What is the value of HISTSIZE set to?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started