USP LAB Quiz

USP LAB Quiz

University

20 Qs

quiz-placeholder

Similar activities

Linux File Permissions Quiz

Linux File Permissions Quiz

University

20 Qs

7. Linux_chmod_2

7. Linux_chmod_2

11th Grade - University

18 Qs

6. Linux_chmod_1

6. Linux_chmod_1

11th Grade - University

20 Qs

WLUG Linux CS quiz

WLUG Linux CS quiz

University

16 Qs

Prawa dostępu i zarządzanie plikami w systemie Linux

Prawa dostępu i zarządzanie plikami w systemie Linux

11th Grade - University

19 Qs

Comandos Linux

Comandos Linux

University

19 Qs

Linux Lab Assessment 1

Linux Lab Assessment 1

University

18 Qs

PARC Linux Basic Part 2

PARC Linux Basic Part 2

University

20 Qs

USP LAB Quiz

USP LAB Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Shubha V

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Identify the wrong answer for the below Command.

chmod 676 a.txt

chmod u=rw-,g=rwx,o=rw- a.txt

chmod u=rwx,g=rwx,o=rw- u-x a.txt

chmod u=rw-,g=rwx,o=rw- u-x a.txt

None of the above

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which command is used to display the last 10 lines of a file?

head

tail

more

less

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What command is used to display information about only logged-in user in Linux?

who

users

logged

whoami

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Select appropriate answer for creating a file in Linux?

touch

vi

ls > b.txt

All of the above

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the command to exit from the VI editor without saving the content.

:wq

:x

:q!

:q

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the purpose of the first line (shebang) in a shell script?

It defines the author of the script.

It specifies the interpreter to be used for executing the script.

It provides a summary of the script's functionality.

It gives path of the shell used

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of the following expression in shell programming?

[ 10 -eq 5 ]

True

False

Error: Invalid syntax.

Error: Numeric comparison not supported.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?