Category: Linux Essentials
The /tmp directory is a temporary directory and will not exist on a system at all times. True or False? True False* The /var directory has files that change over time. True or False? True* False The “sticky bit” permission… …prevents others from overwriting files they don’t own …
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 Which of the following commands sets “other” permissions on file to r-x? chmod 777 file chmod 776 file chmod 775 file* chmod 774 file …
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 If a user is deleted, the files and directories that the user owned… …will show a …
Which files contain user account information? (choose two) /etc/passwd* /etc/shadow* /etc/group Which user can view the /etc/shadow file? The root user* Any member of the password group All users No users Which command will display the UID, GID and groups your current user belongs to? id* who whoami …
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* A service is… …another name for a computer’s hostname. …a feature provided by one computer to another.* …a file that …
What does the acronym RPM mean? Recursive Package Manager RPM Package Management * Return Package Management Relocate Package Manager One way to install new software on a Linux system is to use a package management system. True or False? True * False When you execute the dmesg command, …
Which of the following are valid CPU types for Intel-based platforms? (choose two) 24 bit 64 bit* 48 bit 32 bit* 64 bit platforms can access more memory than 32 bit platforms. True or False? True* False Which of the following commands will display CPU information? (choose three) …
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 A file begins with #!/bin/csh. This means: Nothing, this is a comment C …
Error messages generated by commands are sent where by default? Log files STDOUT STDERR* STDIN A successful command will print output to STDOUT.True or False? True* False Which of the following commands will direct error messages to the file, error.log? (choose one) ls /root >> error.log ls /root …
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 In general, for which of the following would …