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...
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...
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...
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...
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...
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...
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...
Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)
Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)View AnswerAnswer: TZ Explanation: The TZ environment variable is used to change the time zone for the commands run from within the environment...
What benefit does an alias in bash provide?
What benefit does an alias in bash provide?A . It provides faster lookups for commands in the system directory.B . It creates a local copy of a file from another directory.C . It hides what command you are running from others.D . It allows a string to be substituted for...
Which of the following lines is an example of a correct setting for the DISPLAY environment variable?
Which of the following lines is an example of a correct setting for the DISPLAY environment variable?A . hostname:displaynameB . hostname:displaynumberC . hostname/displaynameD . hostname/displaynumberE . hostnameView AnswerAnswer: B Explanation: The correct format for the DISPLAY environment variable is hostname:displaynumber.screennumber, where hostname is the name of the computer where the...