Category: Linux Essentials
1. The /tmp directory is a temporary directory and will not exist on a system at all times. True or False? True False 2. The /var directory has files that change over time. True or False? True False 3. The “sticky bit” permission… …prevents others from overwriting files …
1. Which of the following commands set “other” permissions on file to r-x? chmod o=r+x file chmod o=rx file chmod o-r-w file chmod o+rx file 2. Which of the following commands sets “other” permissions on file to r-x? chmod 777 file chmod 776 file chmod 775 file chmod …
1. UIDs 1-500 are usually reserved for what kind of users? System accounts, such as server processes Are not used for user accounts, but for group accounts Log-in (human) users Remote log-in accounts 2. If a user is deleted, the files and directories that the user owned… …will …
1. Which files contain user account information? (choose two) /etc/passwd /etc/shadow /etc/group 2. Which user can view the /etc/shadow file? The root user Any member of the password group All users No users 3. Which command will display the UID, GID and groups your current user belongs to? …
1. Which of the following would be considered a host? A CDROM The computer’s hard drive A network cable A printer attached to the network via an IP address 2. A service is… …another name for a computer’s hostname. …a feature provided by one computer to another. …a …
1. What does the acronym RPM mean? Recursive Package Manager RPM Package Management Return Package Management Relocate Package Manager 2. One way to install new software on a Linux system is to use a package management system. True or False? True False 3. When you execute the dmesg …
1. Which of the following are valid CPU types for Intel-based platforms? (choose two) 24 bit 64 bit 48 bit 32 bit 2. 64 bit platforms can access more memory than 32 bit platforms. True or False? True False 3. Which of the following commands will display CPU …
1. The echo command: Is used for variable assignment Duplicates the input stream to the output stream Is used to output text to the console Tests a variable for duplication Copies variables from one to another 2. A file begins with #!/bin/csh. This means: Nothing, this is a …
1. Error messages generated by commands are sent where by default? Log files STDOUT STDERR STDIN 2. A successful command will print output to STDOUT.True or False? True False 3. Which of the following commands will direct error messages to the file, error.log? (choose one) ls /root >> …
1. Compression on a file works by: Removing redundant information Eliminating gaps within the file Storing most of the data on removable media and just leaving a pointer Consolidating multiple files into one Removing the high order bit from each byte 2. In general, for which of the …