Search Header Logo

Linux Learning Session 4

Authored by Iyappan Krishnan

Other

7th Grade

Used 1+ times

Linux Learning Session 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Which command lists all files, including hidden files, in a directory?

ls -a

ls -h

ls -l

ls - a

2.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

How do you create a new user in Red Hat Linux?

useradd

AddUser

usersadd

none of the above

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Explain the purpose of the /etc/passwd file in Linux.

it is used to create users home directory

It stores user account information.

It stores network interface configuration.

It stores system-wide environment variables.

4.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What command is used to change the ownership of a file or directory in Linux?

ownit

changeown

chown

chmon

5.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

How do you grant read, write, and execute permissions to a file "abc.txt" in Linux?

grantpm rwx abc.txt

Chmode 777 abc.txt

chmod a+rwx abc.txt

not allowed

6.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

How do you create a hard link in Linux?

ln -s src link

ln -h src link

ln -r src link

ln src link

7.

MULTIPLE SELECT QUESTION

20 sec • 5 pts

which of the statements are true for su -

changes to target working directory

retains current shell setting of the current user

path variables are updated and env loaded

retains current env variable of current user

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?