Assume Q=15.
The instruction Q=$Q+1 will result in Q storing ...
IT Fundamental Quiz 5
Quiz
•
Computers
•
University
•
Medium
JOSH SUH
Used 1+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Assume Q=15.
The instruction Q=$Q+1 will result in Q storing ...
Q+1
16
15+1
15
None: you cannot store a number in a bash variable.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The history list retains 10 instructions at a time.
True
False
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If you wanted to explore how to use some Linux command, say mount, your best option is to use ...
man mount
mount -help
options mount
help mount
apropos mount
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Assume you are user dukeg, which of the following directories would be equivalent to ~zappaf?
/home/zappaf
This would yield an error for anyone other than zappaf.
/zappaf
usr/zappaf
/home/dukeg
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the following history list:
15. ps
16. ps aux
17. ls -l *
18. ls /etc/*.conf
19. cd ..
20. cp foo.txt ~foxr
Pressing control+p three times followed by the enter key repeats which of the following instructions?
cd ..
ls -l*
cp foo.txt ~foxr
ls/etc/*.conf
None of the above: control+p moves you forward in the history list, not backward.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Assume the current directory has the following files:
file1.txt file2.txt file3 file4 files5.txt
How many files would be listed in the instruction ls * ?
All of them
2
0
3
4
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
As a system administrator, you want all users to have rm redefined to the safer rm -i through an alias. The best place to put this alias is into each user’s .bashrc file.
True
False
40 questions
Git & GitHub Quiz
Quiz
•
University
30 questions
IT Fundamental Quiz 4
Quiz
•
University
30 questions
ntp2
Quiz
•
University
30 questions
Javascript Quiz
Quiz
•
University
30 questions
Test - Uprawnienia do plików i folderów w Linux (Ubuntu)
Quiz
•
10th Grade - University
30 questions
Linux Commands Quiz
Quiz
•
University
31 questions
Scripting Unit 7 and 8 Practical Revision
Quiz
•
University
30 questions
ETC Long Quiz
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade