Final Exam (Modules 10 - 18)

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

The "setuid" permission...

* allows a command to be run as the file owner.

Which of the following options for the useradd command allows you to use a different primary GROUP then the default?

-g

Which of the following options for the useradd command allows root to specify the UID to be associated with the account?

-u

A service is...

...a feature provided by one computer to another.

Each user belongs to at least one group.

True

The /var directory has files that change over time.

True

The chown command can be used to change the owner and group of a file.

True

Choose all of the following statements that are true in regard to virtual RAM:(choose three)

Virtual RAM is used when available physical RAM is low. Virtual RAM is also called swap space Virtual RAM is stored on a hard drive

The grep command...

WILL DISPLAY ALL the lines in a file containing the specified Regular Expression.

Which command will display the UID, GID and groups your current user belongs to?

id

Which command will display the groups that the root user belongs to?

id root

Which command can be used to determine a user's most recent log in?

last

Which of the following ls commands, when executed, will only show information about the directory itself?

ls -ld ls -d

Which of the following commands can be used to scroll through a text file?(choose two)

more less

A division of a hard drive may be referred to as a _______ .

partition

The "sticky bit" permission...

prevents others from removing files they don't own from a common directory.

Which of the following commands will allow you to view all processes on the system?(choose two)

ps -ef ps aux

A pipe allows you to...

send the output of one command to another.

Which of the following commands will allow you to log into a remote machine?

ssh

Which of the following are methods for setting permissions using the chmod command?(choose two)

symbolic octal

Which of the following commands can be used to modify a user?

usermod

Which command will display the users that are currently logged in to the system?

who

The "setgid" permission...(choose two)

..allows files created in a directory to be owned by the group that owns the directory. ...allows a command to be run as the group owner of the file.

Which directory is the root of the filesystem?

/

Which files contain user account information?(choose two)

/etc/passwd /etc/shadow

Which of the following files contains encrypted user password information?

/etc/shadow

The Process ID (PID) of the init process is:

1

What is the meaning of $(( $i + 1)) ?

1 will be added to the i variable

Which of the following are valid IPv4 addresses?(choose two)

192.105.10.10 10.33.55.77

Which of the following are valid CPU types for Intel-based platforms?(choose two)

64 bit 32 bit

The "execute" permission is never set on files by default.

False

Which command can be used to print line numbers?

NL

Channel 2 is:

STDERR

UIDs 1-499 are usually reserved for what kind of users?

System accounts, such as server processes

The chmod command can be used on a file by:

The file owner and root

Only servers have hostnames.

False

What is the correct way to assign the word "Hello" to a variable?

A="Hello"

What is the correct way to save the current directory to a variable?

A=`pwd`

Which of the following are correct about for and while loops?(choose two)

FOR loops operate over a FIXED LIST of items WHILE loops have a test EACH CYCLE to determine if it should run again


संबंधित स्टडी सेट्स

E-COMMERCE-CHAPTER-8-LAUDON-ED14

View Set

AAPC - Chapter 16 Practical Applications

View Set

First Lines of Harry Potter books

View Set

Chapter 8:Skeletal System Axis and Appendicular Skeleton Smart Book Assignment

View Set

Principles of Nutrition Week 2: Quiz

View Set