Linux Final Exam
One of the jobs of the kernel is to:
Manage the system’s resources
Turn source code into machine code
Load the operating system after the computer is turned on
Transfer mail from one machine to another
Unix is: (choose two)
An operating system
A type of hardware
A trademark
A distribution of Linux
A text editor
Linux is written in:
C
.NET
C++
Java
Perl
Source code refers to:
The version of a program that the computer runs on the CPU
The license that dictates how you may use and share the software
The interface that software uses to talk to the kernel
A human readable version of computer software
What is the standard option to provide a command line program to view its documentation?
€“info
-doc
-help
-h
The command man -k is the same as the command apropos.. True or False?
True
False
The whatis command is the same as man -w.
True
False
The directory where additional documentation for software packages most likely can be found is:
/var/lib/doc
/usr/software/doc
/usr/share/doc
/var/share/doc
Hidden files are files that begin with what character?
A plus (+)
A dash (-)
A period (.)
An asterisk (*)
What option for the ls command will display all files, including hidden files?
-w
-H
-L
-a
The top-level directory on a Linux system is represented as:
/
/root
/home
C:
Is the following path absolute or relative?. /etc/ppp
Relative
Absolute
Is the following path absolute or relative?. sysadmin/Documents
Relative
Absolute
Compression on a file works by:
Removing the high order bit from each byte
Consolidating multiple files into one
Removing redundant information
Storing most of the data on removable media and just leaving a pointer
Eliminating gaps within the file
In general, for which of the following would you want to use lossless compression?
An mp3 audio file
A movie
A log file
A JPEG file
An encrypted email
Lossy compression:. (choose three)
Is often used with documents
Decompresses to an identical version as the original
Sacrifices some quality
Usually results better compression than lossless
Is often used with images
You type gzip myfile.tar. What happens?. (choose two)
Myfile.tar.gz holds a compressed version of myfile.tar
An error; you forgot to pass the name of the output file
An error; you forgot to specify the file with –f
Myfile.tar is unarchived into the current directory
Myfile.tar is removed
Error messages generated by commands are sent where by default?
STDIN
Log files
STDERR
STDOUT
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 >> error.log
Ls /root 2> error.log
Ls /root $> error.log
A pipe allows you to…
€¦send the same input to multiple commands.
€¦send the output of one command to another.
€¦send the output of a command to a file.
€¦type multiple commands at one prompt.
Channel 2 is:
STDERR
STDIN
STDALL
STDOUT
The echo command:
Tests a variable for duplication
Duplicates the input stream to the output stream
Is used for variable assignment
Is used to output text to the console
Copies variables from one to another
A file begins with #!/bin/csh. This means:
C Shell compatibility mode is enabled
Running the script will invoke /bin/csh to interpret the rest of the file
The operator should not be using /bin/csh
This is a Perl script
Nothing, this is a comment
Which are appropriate editors for writing shell scripts?. (choose two)
Nano
LibreOffice Writer
/bin/bash
Vi
Firefox
Most of nano’s commands take the form of:
Escape followed by another character
Mouse clicks
The F1 through F12 function keys
Alt and another character
Control and another character
What does this shell script do?. FOO=/tmp/foo. if [ ! –d $FOO ]; then. mkdir $FOO. fi
Nothing, since there is a problem with the conditions in the if statement
Makes the /tmp/foo directory if a file by that name exists
Creates /tmp/foo if it does not exist
Creates /tmp/foo and raises an error if there is a problem
Outputs a message to the screen
Which of the following are valid CPU types for Intel-based platforms?. (choose two)
48 bit
24 bit
64 bit
32 bit
64 bit platforms can access more memory than 32 bit platforms.. True or False?
True
False
What does the acronym RPM mean?
Relocate Package Manager
Return Package Management
RPM Package Management
Recursive 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, the system displays messages that are generated by the kernel.. True or False?
True
False
Which of the following are package management commands for distributions with software distributed in files ending in .deb?. (choose three)
Rpm
Apt-get
Dpkg
Aptitude
Which of the following are package management commands for distributions with software distributed in files ending in .rpm?. (choose three)
Yum
Apt-get
Rpm
Yumex
Which of the following would be considered a host?
A printer attached to the network via an IP address
A CDROM
The computer's hard drive
A network cable
A service is...
€¦a file that contains configuration information
€¦another name for a computer’s hostname.
€¦a feature provided by one computer to another.
€¦like an IP address.
A network packet contains …. (choose two)
€¦the IP address of the destination machine.
€¦a hard drive partition.
€¦the name of the router.
€¦the IP address of the source machine.
Only servers have hostnames.. True or False?
True
False
Which user can view the /etc/shadow file?
The root user
No users
Any member of the password group
All users
{"name":"Linux Final Exam", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"One of the jobs of the kernel is to:, Unix is: (choose two), Linux is written in:","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
More Quizzes
Cap. 11. INDUSTRIA OSPITALITĂğII ùI MANAGEMENTUL EI
21106
Provimi I tremujorit te II Klasa 11A
311627
Family BFF
1585
The Ultimate Briana Quiz
15814
PIRMIDA ZDROWEGO ŻYWIENIA
1160
Boat_House_Quiz
10517
Ganhe valorant vbucks de gratis! (sem survey)
4219
Choose a bunch or dresses and we will tell what star wars planet you should live on
6324
FRIDAY OR SATURDAY, AMOUNT OF GIRLS (NIGHT-TIME, 7PM UNTIL CLOSE)
100
Statistics Hypothesis Testing Quiz
5215
How Do You React to Change?
5216
ARCHERY
11620