Search Header Logo

Linux Fundamentals Day 2 - Intern Batch 7

Authored by CloudThat Technologies

Education

Professional Development

Used 3+ times

Linux Fundamentals Day 2 - Intern Batch 7
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The encrypted password of a user is stored in

/etc/shadow

/etc/enpasswwd

/etc/.passwd

/etc/passwd

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The /etc/passwd file doesn’t contain

userid

home directory for a user

login shell name

none of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

User id 0 is

An innvalid user id

The id of the root user

The id of a user when the user’s account is deleted

None of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following command can be used to change the user password?

user can’t change the password

passwd

pwd

passd

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following symbol(s) can be used to redirect the output to a file or another program?

|

>

>>

All of the Above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We can redirect the error message to file named newfile using __________ command.

cat foo errorfile

cat foo >errorfile

cat errorfile>foo

cat foo 2>errorfile

Answer explanation

Redirecting standard error requires the 2> symbol.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command saves one copy of character stream in a file and store the other to standard output?

who

tee

ls

wc

Answer explanation

tee command handles a character stream by duplicating its input.

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?