Which of the following is the best way to list all defined shell variables?
Correct Answer: C
Question 42
Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)
Correct Answer: A,B,D
The usermod, passwd, and chage commands can be used to change a user's account aging information. These commands can modify the password expiry date, the last password change date, the minimum and maximum number of days between password changes, the number of days of warning before password expiration, and the number of days of inactivity after password expiration. The usermod command is mainly used for modifying a user account, but it also has options for changing the password expiry and aging information, such as -e, -f, -p, and -L1. The passwd command is mainly used for changing the user password, but it also has options for changing the password expiry and aging information, such as -e, -i, -n, -w, and -x2. The chagecommand is specifically used for changing the user password expiry and aging information, and it has options such as -d, -E, -I, -m, -M, and -W3. The other options, chattr and chsh, are not related to changing the user's account aging information. The chattr command is used to change the file attributes on a Linux file system4. The chsh command is used to change the user's login shell5. References: * usermod(8) - Linux manual page * passwd(1) - Linux manual page * chage(1) - Linux manual page * chattr(1) - Linux manual page * chsh(1) - Linux manual page
Question 43
Which of the following commands can be used to activate a specific network interface?
Correct Answer: C
Question 44
Which of the following sections exists in a systemd timer unit?
Correct Answer: C
Question 45
FILL BLANK Which parameter of the ssh command specifies the location of the private key used for login attempts? (Specify only the option name without any values or parameters.)