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) LOC...
IT340- Final Exam Review Accurate 100%
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
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller suedocs. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.