Which of the following will show a number of environment variables that start with LC_?
a) localvar
b) locale
c) env
d) printenv - ANSWER d) printenv
Which off the following variable can you modify to override the default system timezone within your current shell?
a) TZ
b) TIME
c) LOCALE
d) LC_TZ - ANSWER a) TZ
Which of the following does a Linux Kernel use to store the value of epoch time?
a) The number of days since January 1, 1900
b) The number of minutes since January 1, 1900
c) The number of seconds since January 1, 1970
d) The number of milliseconds since January 1, 1980 - ANSWER c) The number of seconds since January 1, 1970
What is contained in the DISPLAY variable on a linux system running the X window system?
a) The resolution of the monitor connected to the Linux System
b) Which X server the client is supposed to connect to by default
c) The display manager that should be used
d) How many monitors are connected to a Linux system - ANSWER b) Which X server the client is supposed to connect to by default
If incompatible X Windows settings are configured, where will the errors that are generated be written to?
a) ~/.xsession-errors
b) ~/.xerror
c) ~/.xwin-error
d) /var/log/xwindows.error - ANSWER a) ~/.xsession-errors Which of the following files is a binary file that contains the rules for calculating the time based on your time zone relative to epoch time?
a) /usr/local/bin/timecalc
b) /etc/localtime
c) /sbin/tickadj
d) sbin/timeadj - ANSWER b) /etc/localtime
A user's primary group is defined in
a) /etc/passwd
b) /etc/group
c) /etc/groups
d) /etc/shadow - ANSWER a) /etc/passwd
To create or change a password on any user account, the following is used:
a) the useradd utility
b) vi/etc/shadow
c) the vipw utility
d) the passwd command - ANSWER d) the passwd command
When a user account has been locked using the usermod -L command you will see what in the /etc/shadow file's record for that user?
a) An x in the password field
b) A zero (0) at the front of the password field
c) A blank password field
d) An ! at the front of the password field - ANSWER d) An ! at the front of the password field
An administrator types chage -M 7 time. What is the effect of this command?
a) The time account's age is set to seven months
b) All users are permitted to change their passwords at most seven times
c) The time account's password must be changed at least once every seven days
d) All users must change their passwords at least once every seven days - ANSWER c) The time account's password must be changed at least once every seven days
What is wrong with the following /etc/passwd file entry? sally:x:1029:Sally Jones:/home/myhome:/bin/passwd
a) The username is invalid. Linux usernames can't be all lowercase letters
b) Either UID or the GID field is missing
c) The default shell is set to /bin/passwd, which is an invalid shell