Search Header Logo

Linux_2

Authored by Yasir Nurmaulana

Computers

11th Grade

Used 1+ times

Linux_2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the root directory in Linux?

/var

/

/root

/home

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to display the current directory in Linux?

cd

ls

dir

pwd

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you create a new user in Linux?

sudo adduser newusername

useradd newusername

sudo createuser newusername

adduser --new newusername

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the difference between chmod and chown commands.

chmod changes the file permissions, while chown changes the file location

chmod changes the file size, while chown changes the file type

The main difference between chmod and chown commands is that chmod changes the permissions of a file or directory, while chown changes the owner of a file or directory.

chmod changes the file extension, while chown changes the file content

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you install a new package using apt-get in Linux?

sudo install package_name

sudo apt-get install package_name

apt-get install package_name

sudo apt-get update package_name

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the /etc/passwd file in Linux?

The /etc/passwd file in Linux is used for storing system logs.

The /etc/passwd file in Linux stores essential information about user accounts.

The /etc/passwd file in Linux is a configuration file for network settings.

The /etc/passwd file in Linux is a backup file for user data.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you change the ownership of a file in Linux?

Rename the file

Use the 'chown' command followed by the new owner's username and the file name.

Modify the file permissions

Use the 'changeowner' command

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?