Linux Commands and Scripting Quiz

Linux Commands and Scripting Quiz

University

44 Qs

quiz-placeholder

Similar activities

АКС 151-194

АКС 151-194

University

44 Qs

Networking Quiz

Networking Quiz

University

40 Qs

Four lectures

Four lectures

University

43 Qs

hihi

hihi

University

39 Qs

Python Programming Quiz

Python Programming Quiz

University

40 Qs

Linux Commands and Concepts Quiz

Linux Commands and Concepts Quiz

University

39 Qs

nốt_atmnc

nốt_atmnc

University

44 Qs

CSNETWK SQ1 Reviewer 1

CSNETWK SQ1 Reviewer 1

University

40 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?