Search Header Logo

Linux Basico 5

Authored by JUAN ALFONZO MARTINEZ AYALA

Information Technology (IT)

Professional Development

Used 1+ times

Linux Basico 5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following commands will print lines from the file world.txt that contain matches to changes and changed?

  1. grep change[ds] world.txt

  1. tar change[d-s] world.txt

  1. find "change'd|s'" world.txt

  1. cat world.txt changes changed

  1. find change[^ds] world.txt

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following redirection operators appends a program’s standard output to an existing file without overwriting that file’s original contents?

|

2>

&>

>

>>

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The find command enables you to locate files based on their sizes.

VERDADERO

FALSO

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Complete the following command to redirect both standard output and standard error from the bigprog program to the file out.txt.

$ bigprog ______ out.txt

|

2>

&>

>

>>

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You’ve typed rmdir junk to delete the junk directory, but this command has failed because junk contains word processing files. A command that will work is ________________.

  1. rmdir -r junk

  1. rmdir -P junk

  1. rm -r junk

  1. rm -f junk

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the symbolic representation of this numerical permission:: 644?

rwxr-xr-x

rw-r--r--

rw-------

r--rw-rw-

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Given a file with permission755, What commands would change the permission to r-xr--r--?

chmod 544 filename

chmod u+w,go+x filename

chmod u-rx,go-r filename

chgrp 544 filename

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?