Search Header Logo

RH124 MCQ & Practical session - set 02

Authored by Iyappan Krishnan

Other

7th Grade

40 Questions

Used 9+ times

RH124 MCQ & Practical session - set 02
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

OPEN ENDED QUESTION

5 mins • 5 pts

  • -Create user student01, student02 and add to group root

-Make ID student01 to have /sbin/nologin shell.

-Make id student02 to have /bin/false shell.

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

5 mins • 5 pts

-- The user student01 should be able to become root user without a password, set the shell to /bin/bash and also execute commands without a password.

-- Create a folder /tmp/student01, create five files ( Assessment[1,2,3,4,5]) and allow student02 to make any changes inside the folder but student02 cant delete any of the file

-- Student02 should add Content in assessment3 file " I modified this file on <timestamp> and my name <EmpID>

Capture the history here

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 5 pts

Add additional IP address to existing network connection with IPv4 address named eth0, using the following data: Ipv4 192.0.1.3/24 gateway 192.0.1.1

use ip command to capture the network status for

-- ip address

-- route details

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

5 mins • 5 pts

Find all installed packages names in the system, and put the names into a file named packages.txt.

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 5 pts

-Create and add folder name /opt/mysystem/bin/ to the system PATH for all users

-create a file "hello.sh" in the above folder

-add - echo "This is working at time $(date +%Y%m%d)" - inside the file

-make hello.sh executable

-go to /home/student02

-execute command hello.sh

capture the output

Evaluate responses using AI:

OFF

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following command is used to count the total number of lines, words, and characters contained in a file?

wc
wcount
countw
none of the above

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Identify the command which is used to remove files.

delete
rm
dm
erase

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?