Linux Chapter 10

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

Emily accidentally created a new user account on the wrong server. Which of the following commands could she use to delete the account she created? (Choose all that apply.)

deluser userdel

Which of the following commands can be used to remove a group from a Linux system? (Choose all that apply.)

groupdel delgroup

Which of the following commands can a user run to display the groups that they are a member of?

groups

Which of the following commands can you use to view events within the journald database?

journalctl

Which of the following log files contains information and error messages generated by the Linux kernel?

kern.log

Which of the following commands can you use to send a print job to printer1? (Choose all that apply.)

lp -d printer1 mydocument.txt lpr -P printer1 mydocument.txt

Which of the following commands will display the print jobs in the print queue for printer1 only?

lpstat -o printer1

Which of the following commands can be used to set the number of days until user account jsmith with an expired password is disabled?

usermod -f 15 jsmith

Which of the following is a special group that provides its members with the ability to run the su and sudo commands?

wheel

Which of the following entries could be added to the rsyslog.conf configuration file to have all syslog messages displayed to console 10?

*.* /dev/tty10

Which of the following options can be used with the usermod command to change the description of the user account that is stored in the GECOS field?

-c

The System Log Daemon, rsyslogd, creates a socket for other system processes to write to. What is the path to this socket?

/dev/log

In which file can you configure rules for logging on a Linux system?

/etc/rsyslog.conf

In which of the following directories can you place files that will be copied to new user directories when new users are created?

/etc/skel

What is the path to where the journald.conf file is located?

/etc/systemd/journald.conf

Which of the following environment variables can you change the value of to set the default printer on a Linux system? (Choose two.)

LPDEST PRINTER

Which of the following will show account aging information for a user such as the date of the last password change, when the password expires, and the number of days of warning before the password expires?

chage -l jsmith

Which of the following commands can be used to pause a printer named Printer1?

cuspdisable printer1


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

Squares, Square Roots, Cubes, & Cube Roots

View Set

REE Ch. 27 - Condominiums and Cooperatives

View Set

Algebra 2 Semester Test Study Guide Multiple Choice

View Set

MKT 300-- Product and Services Management

View Set

Chapter 12: Urinary System and Male Genital System

View Set

ITIL 4 - Create, Support, and Deliver

View Set