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...
Which of the following can the chage command NOT change?
Which of the following can the chage command NOT change?A . The number of days since January 1, 1970 after which the user's account will no longer be accessible.B . The number of days since January 1, 1970 after which the password can change.C . The number of days since...
What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)
What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)View AnswerAnswer: xorg.conf Explanation: The default name of the configuration file for the Xorg X11 server is xorg.conf. This file is used to store initial setup for X, such...
What is true about the file /etc/localtime?
What is true about the file /etc/localtime?A . It is a plain text file containing a string such as Europe/BerlinB . It is created and maintained by the NTP service based on the location of the system’s IP address.C . It is a symlink to /sys/device/clock/ltime and always contains the...
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)A . The user issuing the command must be in the group script.B . The script file must be found in the $PATH.C . The...
Which TWO statements about crontab are true?
Which TWO statements about crontab are true? A. Every user may have their own crontab. B. Changing a crontab requires a reload/restart of the cron daemon. C. The cron daemon reloads crontab files automatically when necessary. D. hourly is the same as "0 * * * *". E. A cron...