
chapter 5-6
Authored by Raiymbek Tolegenov
Education
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which output redirection operator displays the output to the terminal and discards all error messages?
&> file
2> &> file
2> /dev/null
1> /dev/null
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which output redirection operator sends output to a file and sends errors to another file?
> file 2> file2
> file 1> file2
> file &2> file2
| tee file
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which output redirection operator sends both output and errors to a file, creating it or overwriting its contents?
| tee file
2 &> file
1 &> file
&> file
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which output redirection operator sends both output and errors to the same file and preserves the contents of the file if it exists?
> file 2> file2
&> file
>> file 2>&1
>> file 1>&1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which output redirection operator discards all messages that are normally sent to the terminal?
> file 2> file2
&> /dev/null
&> /dev/null 2> file
&> file
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which output redirection operator sends the output to both the screen and a file simultaneously?
&> /dev/null
> file 2> file2
| tee file
| file
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What element represents the number that identifies the user at the most fundamental level?
Primary user
UID
GID
Username
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?