Search Header Logo

linux-ch5

Authored by Sondos Alsafy

Other

12th Grade

Used 3+ times

linux-ch5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Which of the following symbols is used to redirect the output of a command to a file in Linux?

>

<

>>

|

2.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Which symbol is used to append output to an existing file in Linux?

>

<

>>

|

3.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

What is the correct way to redirect the input of a command from a file in Linux?

command < file

command > file

command >> file

command | file

4.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Which symbol is used for piping in Linux to pass the output of one command as the input to another?

|

>

<

&

5.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Which of the following is the correct syntax to list the files in a directory and search for a specific pattern using piping in Linux?

ls | grep pattern

ls > grep pattern

grep ls pattern

ls >> grep pattern

6.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

In VIM, which mode allows you to type and insert text into a file?

Command Mode

Visual Mode

Insert Mode

Extended Mode

7.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Which VIM mode is used to execute commands such as saving a file, searching, or quitting?

Command Mode

Insert Mode

Visual Mode

Normal Mode

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?