Search Header Logo

unit 2 linux

Authored by praveen s

Computers

University

Used 5+ times

unit 2 linux
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Change file permissions

chmod

chown

chexeute

chfile

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which command is used to add a new user in Ubuntu?

adduser

useadd

usermod

adddir

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How can you view all the environmental variables in Ubuntu?

environment

env

envprint

envm

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you display the value of a shell variable?

show

print

echo

view

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

removes read permission from the user.

chmod u+r [filename]

chmod u-r [filename]

chmod u=r [filename]

chmod u*r [filename]

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which command is used to add a new group?

groupadd

addgroup

newgroup

create-group

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Adding a User to a Group


sudo usermod -uG groupname username


sudo usermod -aG groupname username

sudo usermod -G groupname username

sudo usermod -dG groupname username

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?