Search Header Logo

Linux quiz 3

Authored by Nabila Hasibuan

Life Skills

University

Used 4+ times

Linux quiz 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to append both STDERR and STDOUT to the same file

using 2>

using >

using >>

using 2>>

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following commands are pager-commands?

more

less

cat

head

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How to unzip (decompress) a file in Linux

uncomp <filename>

decomp <filename>

gzip -d <filename>

gunzip <filename>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is most used compression-command in Linux

zip

tar

gzip

7zip

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What can be done with the 'Shebang'

shutdown your Linux system

End a bash script

Control the command interpreter in a script

It's a command for on the prompt

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What must be done before a script can be exceuted?

Compile the script

Make the file executable using chmod u+x

Add the shebang in the first line of the script

Place the script in an executable-scripts directory like /bin

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can be done with the pipe (|) command?

send the output of one command to another

run a second command only of the first command was succesfull

run a second command only if the first one failed

set an exit-code

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?