Chapter 2 Installation and Localization
As which user is it bad practice for linux admins to regularly login as to do non-administrative tasks?
root
During installation you need to make sure there is plenty of hard disk space allocated to the partition that is going to hold the entire Linux system. What is the mount point for this partition?
/
Which of the following directories must remain on the same partition? (select three) 1) /home 2) /bin 3) /lib 4) /usr 5) etc
/bin /etc /lib
You are installing Linux on an old computer with an old BIOS, and you are planning out the partitions of the hard disk drive. Which of the following directories should exist in the first 1024 cylinders of the hard disk drive? 1) /home 2) /var 3) /bin 4) /boot
/boot
Which of the following directories should be part of the partition that holds the root (/) directory? (There are three.) 1) /bin 2) /proc 3) /usr 4) /home 5) etc 6) /var
/etc; /proc; /bin
What is the full path to the directory that contains user data for all standard users on the system?
/home
When manually partitioning your hard drive during installation, which directory, or mount point, should be configured with its own partition in order to keep users from using too much hard drive space (and potentially bringing the Linux system down)?
/home
What is the full path to the directory that contains the locale configuration files on a Linux system?
/usr/share/locale
When manually partitioning your hard drive during installation, which directory, or mount point, should be configured with its own partition in order to keep log files from using too much hard drive space (and potentially bringing the Linux system down)?
/var
You have a Linux system with 8 GB of RAM installed. You plan to use this as a server system. How much space should you plan to partition for the swap file?
8GB
Describe the local environment LC_ALL
A special variable for overriding all other settings. It sets all locales to the same setting.
Describe the local environment LANG
Defines all locale settings at once, while allowing further individual customization via the LC_* settings.
You are piping the data from the cat command to another program, but the data is garbled. You believe the locale is corrupting the output. Which variable setting should you change to avoid the problem described above?
LANG=C
Which environment variable overrides all other locale settings and sets all locales to the same setting?
LC_ALL
Describe the local environment LANGUAGE
Specifically used an override for LC_MESSAGES.
Describe the local environment LC_NAME
Specifies personal name format
You are teaching new users about security and passwords. Which example of the password would be the most secure password?
T1a73gZ9!
Which command should you use to convert encoding from one type to another?
iconv
Which partition functions as virtual memory?
swap
"Match the locale environment variable name on the left with description on the right.
"LC_NAME= Specifies personal name format ; LANGUAGE= Specifically used an override for LC_MESSAGES. LC_ALL= A special variable for overriding all other settings. It sets all locales to the same setting. LANG = Defines all locale settings at once, while allowing further individual customization via the LC_* settings."
For which of the following directories should you create separate partitions? 1) /var 2) /lib 3) /bin 4) /home
/home /var
"Most Linux distributions will propose to create the root (/) and swap partitions by default. To prevent user files and system log files from filling up the / partition, which 2 additional partitions are you most strongly recommended to create? (select two) 1) /opt 2) /var 3) /tmp 4) /boot 5)/usr 6)/home
/home and /var