Karteikarten
Linux Final
Karten in diesem Stapel (72)
- 1One of the jobs of the kernel is to:Manage the system’s resources
- 2Unix is: (choose two)An operating system
A trademark - 3Linux is written in:C
- 4Source code refers to:A human readable version of computer software
- 5What is the standard option to provide a command line program to view its documentation?–help
- 6The command man -k is the same as the command apropos. True or False?True
- 7The whatis command is the same as man -w.False
- 8The directory where additional documentation for software packages most likely can be found is:/usr/share/doc
- 9Hidden files are files that begin with what character?A period (.)
- 10What option for the ls command will display all files, including hidden files?-a
- 11The top-level directory on a Linux system is represented as:/
- 12Is the following path absolute or relative? /etc/pppAbsolute
- 13Is the following path absolute or relative? sysadmin/DocumentsRelative
- 14Compression on a file works by:Removing redundant information
- 15In general, for which of the following would you want to use lossless compression?A log file
- 16Lossy compression: (choose three)Sacrifices some quality
Usually results better compression than lossless
Is often used with images - 17You type gzip myfile.tar. What happens? (choose two)myfile.tar is removed
myfile.tar.gz holds a compressed version of myfile.tar - 18Error messages generated by commands are sent where by default?STDERR
- 19A successful command will print output to STDOUT. True or False?True
- 20Which of the following commands will direct error messages to the file, error.log? (choose one)ls /root 2> error.log
- 21A pipe allows you to……send the output of one command to another.
- 22Channel 2 is:STDERR
- 23The echo command:Is used to output text to the console
- 24A file begins with #!/bin/csh. This means:Running the script will invoke /bin/csh to interpret the rest of the file
- 25Which are appropriate editors for writing shell scripts? (choose two)nano
vi - 26Most of nano’s commands take the form of:Control and another character
- 27What does this shell script do? FOO=/tmp/foo if [ ! –d $FOO ]; then mkdir $FOO fiCreates /tmp/foo if it does not exist
- 28Which of the following are valid CPU types for Intel-based platforms? (choose two)64 bit
32 bit - 2964 bit platforms can access more memory than 32 bit platforms. True or False?True
- 30What does the acronym RPM mean?RPM Package Management
- 31One way to install new software on a Linux system is to use a package management system. True or False?True
- 32When you execute the dmesg command, the system displays messages that are generated by the kernel. True or False?True
- 33Which of the following are package management commands for distributions with software distributed in files ending in .deb? (choose three)All except rpm
- 34Which of the following are package management commands for distributions with software distributed in files ending in .rpm? (choose three)All except apt-get
- 35Which of the following would be considered a host?A printer attached to the network via an IP address
- 36A service is…a feature provided by one computer to another.
- 37A network packet contains … (choose two)the IP address of the source machine.
…the IP address of the destination machine. - 38Only servers have hostnames. True or False?False
- 39Which files contain user account information? (choose two)/etc/passwd
/etc/shadow - 40Which user can view the /etc/shadow file?The root user
- 41Which command will display the UID, GID and groups your current user belongs to?id
- 42Each user belongs to at least one group. True or False?True
- 43Which command will display the users that are currently logged in to the system?who
- 44UIDs 1-500 are usually reserved for what kind of users?System accounts, such as server processes
- 45If a user is deleted, the files and directories that the user owned……will show a UID as the owner, but not user name.
- 46Which of the following options for the useradd command allows root to specify the UID to be associated with the account?-u
- 47Which of the following options for the useradd command allows root to specify supplementary groups the user will be a member of?-G
- 48On a system that does not use UPG, the useradd command will also create a user group. For example, user bob, group bob. True or False?False
- 49Which of the following commands set “other” permissions on file to r-x?chmod o=rx file
- 50Which of the following commands sets “other” permissions on file to r-x?chmod 775 file
- 51Only one set (user, group, other) of permission can be changed at once using the symbolic method. True or False?False
- 52Which of the following are methods for setting permissions using the chmod command? (choose two)octal
symbolic - 53The chown command can be used to change the owner and group of a file. True or False?True
- 54The Samba application is a:File Server
- 55Which of the following are examples of desktop software? (choose two)Music player
Web browser - 56If you wanted to set up a blog, which software would be most helpful?WordPress
- 57Which of the following pieces of software deal with file sharing? (choose three)Netatalk
Samba
NFS - 58If you wanted to create and print an invoice, which software could you use?LibreOffice
- 59Which of the following is true about graphical mode? (choose three)You have menus and tools to help you find what you are looking for
You access this mode by logging into a graphical display
After login, you are provided with a desktop - 60Which of the following is provided by a graphical interface that isn’t normally provided to a non graphical interface? (choose four)All except Shell
- 61A server is likely to be running in graphical mode. True or False?False
- 62In graphical mode, you can get to a shell by running which applications? (choose two)xterm
terminal - 63Which of the following are traits of a multiuser operating system? (choose three)Users can protect their information from other users
Resources are shared between users
Many users can log in simultaneously with a unique account - 64Select all the applications that provide access to the Command Line Interface (CLI)? (choose two)Terminal window
Virtual Terminal - 65Which environment variable contains a list of directories that is searched for commands to execute?PATH
- 66Select the command that can report the location of a command:which
- 67A pair of single quotes ( ‘ ) will prevent the shell from interpreting any metacharacter. True or False?True
- 68The /tmp directory is a temporary directory and will not exist on a system at all times. True or False?False
- 69The /var directory has files that change over time. True or False?True
- 70The “sticky bit” permission……prevents others from removing files they don’t own from a common directory.
- 71Which of the following commands will set the “sticky bit” on /shared ?chmod 1777 /shared
- 72The “setuid” permission……allows a command to be run as the file owner.
Informationen
- Beschreibung
- Computer Science Karteikarten am Linux Final, erstellt von Kyle Healan am 17/07/2018.
- Erstellt von
- Kyle Healan
- Aufrufe
- 4
- Bewertung