Linux Commands and Scripting Quiz

Linux Commands and Scripting Quiz

University

44 Qs

quiz-placeholder

Similar activities

AS_Testing

AS_Testing

11th Grade - University

40 Qs

CYB125 - Ch6

CYB125 - Ch6

University

40 Qs

FortiEDR EXAM QUESTIONS

FortiEDR EXAM QUESTIONS

University

44 Qs

Cloud Computing (AWS-MODULE CHECK {6-10})

Cloud Computing (AWS-MODULE CHECK {6-10})

University

49 Qs

2.Egzamin_inf03_2024-styczen

2.Egzamin_inf03_2024-styczen

University

40 Qs

MedLit Copyryt

MedLit Copyryt

12th Grade - University

45 Qs

Infinity Code Nexus

Infinity Code Nexus

University

40 Qs

COMPAP

COMPAP

University

42 Qs

Linux Commands and Scripting Quiz

Linux Commands and Scripting Quiz

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

sunkar ...

Used 6+ times

FREE Resource

44 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You've just finished working on a script that organizes files in a directory, and you want to share it with a colleague. However, you realize that they may not have permission to execute it. What command do you use to give everyone execute permissions to your script named "organize.sh"?

chmod 777 organize.sh
chmod u+x organize.sh
chmod a+x organize.sh
chmod +x organize.sh

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following are valid partitioning types? (choose two)

PC

MBR

GPT

BIOS

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following commands will check hard disk GPT partitions? (choose three)

gdisk

sgdisk

cgdisk

fdisk

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which option for the usermod command can be used to specify a user’s group ID (either primary or secondary)? (choose two)

-g

-G

-s

-S

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which two pager commands are used by the man command to control movement within the document? (choose two)

less

grep

more

page

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

To search the man page sections for the keyword example, which of the following command lines could you execute? (choose two)

man -f example

man -k example

whatis example

apropos example

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following commands can be used to access the home directory of the user “bob” while logged in as root? (choose two)

cd /home/bob

cd ~bob

cd &&

~bob

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?