Search Header Logo

Linux Practice Quiz 3

Authored by Lugaga Maurice

Professional Development

Professional Development

Used 5+ times

Linux Practice Quiz 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Which of the following commands can be used to print output to the terminal?

ls

cp

echo

chmod

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following commands should be executed before installing a package?

  • apt-get upgrade

  • apt-get update

  • apt-get search

  • apt-get install

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which of the following commands will update all packages?

apt-get upgrade

apt-get install

apt-get update

apt-get search

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which of the following commands will return only lines that begin with test?

  • grep ‘*test’ file.txt

  • grep ‘[test]’ file.txt

  • grep ‘$test’ file.txt

  • grep ‘^test’ file.txt

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following commands is used to filter text?

grep

text

dd

regex

6.

MULTIPLE CHOICE QUESTION

20 sec • 3 pts

Which command is used to copy files at the bit level?

cp

dd

7.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

The rm command requires at least two arguments:

True

False

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?