Which commands can you use to change a user's account aging information? (Choose THREE correct answers.)

Which commands can you use to change a user's account aging information? (Choose THREE correct answers.)A . usermodB . passwdC . chattrD . chageE . chshView AnswerAnswer: A, B, D Explanation: The commands that can be used to change a user’s account aging information are: usermod: this command can modify...

March 7, 2025 No Comments READ MORE +

What is the conventional purpose of Linux UIDs that are lower than 100?

What is the conventional purpose of Linux UIDs that are lower than 100?A . They are reserved for super user accounts.B . They are reserved for the system admin accounts.C . They are reserved for system accounts.D . They are unused, aside from 0, because they are targets of exploits.E...

March 5, 2025 No Comments READ MORE +

Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)

Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)View AnswerAnswer: /usr/bin/xwininfo, xwininfo Explanation: The command that can be used to investigate the properties for a particular window in X by clicking...

March 4, 2025 No Comments READ MORE +

What is the purpose of the file /etc/profile?

What is the purpose of the file /etc/profile?A . It contains the welcome message that is displayed after login.B . It contains security profiles defining which users are allowed to log in.C . It contains environment variables that are set when a user logs in.D . It contains default application...

March 3, 2025 No Comments READ MORE +

Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)

Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)A . usermodB . passwdC . chattrD . chageE . chshView AnswerAnswer: A, B, D Explanation: The usermod, passwd, and chage commands can be used to change a user’s account aging information. These commands can...

March 2, 2025 No Comments READ MORE +

Which of the following words is used to restrict the records that are returned from a SELECT query based on a supplied criteria for the values in the records?

Which of the following words is used to restrict the records that are returned from a SELECT query based on a supplied criteria for the values in the records?A . LIMITB . FROMC . WHERED . IFView AnswerAnswer: C Explanation: The correct keyword for restricting the records that are returned...

March 2, 2025 No Comments READ MORE +

Which command allows you to make a shell variable visible to subshells?

Which command allows you to make a shell variable visible to subshells?A . export $VARIABLEB . export VARIABLEC . set $VARIABLED . set VARIABLEE . env VARIABLEView AnswerAnswer: B Explanation: The command that allows you to make a shell variable visible to subshells is export VARIABLE. This command turns the...

February 28, 2025 No Comments READ MORE +

Which of the following commands can remove a user from a group?

Which of the following commands can remove a user from a group?A . grouprmB . groupmodC . passwdD . usergroupsE . usermodView AnswerAnswer: E Explanation: The usermod command is a utility for modifying user accounts. One of its options is -G, which allows specifying a list of supplementary groups that...

February 23, 2025 No Comments READ MORE +

Which of the following commands shows the current color depth of the X Server?

Which of the following commands shows the current color depth of the X Server?A . xcdB . xcdepthC . xwininfoD . xcolordepthE . cat /etc/X11View AnswerAnswer: C Explanation: The command that can be used to show the current color depth of the X Server is xwininfo. xwininfo is a command-line...

February 22, 2025 No Comments READ MORE +

When the command echo $$ outputs 12942, what is the meaning of 12942?

When the command echo $$ outputs 12942, what is the meaning of 12942?A . It is the process ID of the echo command.B . It is the process ID of the current shell.C . It is the process ID of the last command executed.D . It is the process ID...

February 19, 2025 No Comments READ MORE +