Time limit: 0
Quiz-summary
0 of 30 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
Information
Good luck!
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 30 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- Answered
- Review
-
Question 1 of 30
1. Question
1 pointsIf you want to delete a variable, you can run:Correct
Incorrect
Hint
Explain: See Section 4.5 -
Question 2 of 30
2. Question
1 pointsTo view all current variables, you can use:Correct
Incorrect
Hint
Explain: See Section 4.4 -
Question 3 of 30
3. Question
1 pointsTo process a script file in the current context, you execute: (choose two)Correct
Incorrect
Hint
Explain: See Section 4.8 -
Question 4 of 30
4. Question
1 pointsEnvironment variables can be viewed by running: (choose two)Correct
Incorrect
Hint
Explain: See Section 4.4 -
Question 5 of 30
5. Question
1 pointsThe PATH environment variable is used for:Correct
Incorrect
Hint
Explain: See Section 4.6 -
Question 6 of 30
6. Question
1 pointsWhich of the following will create a variable?Correct
Incorrect
Hint
Explain: See Section 4.2 -
Question 7 of 30
7. Question
1 pointsWhich character(s) cannot be placed in variable names?Correct
Incorrect
Hint
Explain: See Section 4.2 -
Question 8 of 30
8. Question
1 pointsShell variables are used to:Correct
Incorrect
Hint
Explain: See Section 4.1 -
Question 9 of 30
9. Question
1 pointsLocal variables are:Correct
Incorrect
Hint
Explain: See Section 4.3 -
Question 10 of 30
10. Question
1 pointsEnvironment variables are:Correct
Incorrect
Hint
Explain: See Section 4.3 -
Question 11 of 30
11. Question
1 pointsEnvironment variables cannot be declared by which command?Correct
Incorrect
Hint
Explain: See Section 4.3 -
Question 12 of 30
12. Question
1 pointsThe PATH variable will be used under which situation?Correct
Incorrect
Hint
Explain: See Section 4.6 -
Question 13 of 30
13. Question
1 pointsThe /bin directory contains:Correct
Incorrect
Hint
Explain: See Section 4.6 -
Question 14 of 30
14. Question
1 pointsThe /sbin directory contains:Correct
Incorrect
Hint
Explain: See Section 4.6 -
Question 15 of 30
15. Question
1 pointsThe /usr/local/bin directory contains:Correct
Incorrect
Hint
Explain: See Section 4.6 -
Question 16 of 30
16. Question
1 pointsThe path testdir/file.txt is:Correct
Incorrect
Hint
Explain: See Section 4.6 -
Question 17 of 30
17. Question
1 pointsThe path /data/file.txt is:Correct
Incorrect
Hint
Explain: See Section 4.6 -
Question 18 of 30
18. Question
1 pointsWhich of the following is a valid way to add the /data directory to the existing PATH variable?Correct
Incorrect
Hint
Explain: See Section 4.6 -
Question 19 of 30
19. Question
1 pointsWhich of the following files is specific to each user and executed every time a bash shell is opened?Correct
Incorrect
Hint
Explain: See Section 4.7 -
Question 20 of 30
20. Question
1 pointsWhich of the following files is specific to each user and executed only during login?Correct
Incorrect
Hint
Explain: See Section 4.7 -
Question 21 of 30
21. Question
1 pointsWhich of the following files is for all bash shell users and executed every time a bash shell is opened?Correct
Incorrect
Hint
Explain: See Section 4.7 -
Question 22 of 30
22. Question
1 pointsWhich of the following files is for all bash shell users and executed only at login?Correct
Incorrect
Hint
Explain: See Section 4.7 -
Question 23 of 30
23. Question
1 pointsWhich of the following commands will execute the last command that started with ec:Correct
Incorrect
Hint
Explain: See Section 4.15 -
Question 24 of 30
24. Question
1 pointsAn absolute path always starts with which character?Correct
Incorrect
Hint
Explain: See Section 4.6 -
Question 25 of 30
25. Question
1 pointsIn the PATH variable, the __ character is used to separate the directories.Correct
Incorrect
Hint
Explain: See Section 4.6 -
Question 26 of 30
26. Question
1 pointsThe _____ command will allow you to see commands that you have previously executed.Correct
Incorrect
Hint
Explain: See Section 4.13 -
Question 27 of 30
27. Question
1 pointsThe _____ variable stores directories that the shell used to find executable files.Correct
Incorrect
Hint
Explain: See Section 4.6 -
Question 28 of 30
28. Question
1 pointsWhen specifying a path, the __ character symbolizes the current directory.Correct
Incorrect
Hint
Explain: See Section 4.6 -
Question 29 of 30
29. Question
1 pointsWhich file can you place in your home directory to be executed when you log off the system?Correct
Incorrect
Hint
Explain: See Section 4.9 -
Question 30 of 30
30. Question
1 pointsThe _____ command will tell you if a command exists as a built-in command, function, alias or a command located within the PATH variable.Correct
Incorrect
Hint
Explain: See Section 4.6