Roberto Leon
Quiz by , created more than 1 year ago

Quiz on Linux Final (1-20), created by Roberto Leon on 25/05/2017.

55
0
0
Roberto Leon
Created by Roberto Leon almost 7 years ago
Close

Linux Final (1-20)

Question 1 of 20

1

1. One of the jobs of the kernel is to:

Select one or more of the following:

  • • 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

Explanation

Question 2 of 20

1

2. Unix is:

Select one or more of the following:

  • • An operating system

  • • A type of hardware

  • • A trademark

  • • A distribution of Linux

  • • A text editor

Explanation

Question 3 of 20

1

3. Linux is written in:

Select one or more of the following:

  • • C

  • • .NET

  • • C++

  • • Java

  • • Perl

Explanation

Question 4 of 20

1

4. Source code refers to:

Select one or more of the following:

  • • 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

Explanation

Question 5 of 20

1

5. What is the standard option to provide a command line program to view its documentation?

Select one or more of the following:

  • • –info

  • • –doc

  • • –help

  • • -h

Explanation

Question 6 of 20

1

6. The command man -k is the same as the command apropos.
True or False?

Select one of the following:

  • True
  • False

Explanation

Question 7 of 20

1

7. The whatis command is the same as man -w.

Select one of the following:

  • True
  • False

Explanation

Question 8 of 20

1

8. The directory where additional documentation for software packages most likely can be found is:

Select one or more of the following:

  • • /var/lib/doc

  • • /usr/software/doc

  • • /usr/share/doc

  • • /var/share/doc

Explanation

Question 9 of 20

1

9. Hidden files are files that begin with what character?

Select one or more of the following:

  • • A plus (+)

  • • A dash (-)

  • • A period (.)

  • • An asterisk (*)

Explanation

Question 10 of 20

1

10. What option for the ls command will display all files, including hidden files?

Select one or more of the following:

  • • -w

  • • -H

  • • -L

  • • -a

Explanation

Question 11 of 20

1

11. The top-level directory on a Linux system is represented as:

Select one or more of the following:

  • • /

  • • /root

  • • /home

  • • C:

Explanation

Question 12 of 20

1

12. Is the following path absolute or relative?
/etc/ppp

Select one or more of the following:

  • • Relative

  • • Absolute

Explanation

Question 13 of 20

1

13. Is the following path absolute or relative?
sysadmin/Documents

Select one or more of the following:

  • • Relative

  • • Absolute

Explanation

Question 14 of 20

1

14. Compression on a file works by:

Select one or more of the following:

  • • 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

Explanation

Question 15 of 20

1

15. In general, for which of the following would you want to use lossless compression?

Select one or more of the following:

  • • An mp3 audio file

  • • A movie

  • • A log file

  • • A JPEG image

  • • An encrypted email

Explanation

Question 16 of 20

1

16. Lossy compression:
(choose three)

Select one or more of the following:

  • • 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

Explanation

Question 17 of 20

1

17. You type gzip myfile.tar. What happens?
(choose two)

Select one or more of the following:

  • • 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

Explanation

Question 18 of 20

1

18. Error messages generated by commands are sent where by default?

Select one or more of the following:

  • • STDIN

  • • Log files

  • • STDERR

  • • STDOUT

Explanation

Question 19 of 20

1

19. A successful command will print output to STDOUT.
True or False?

Select one of the following:

  • True
  • False

Explanation

Question 20 of 20

1

20. Which of the following commands will direct error messages to the file, error.log?
(choose one)

Select one or more of the following:

  • • ls /root > error.log

  • • ls /root >> error.log

  • • ls /root 2> error.log

  • • ls /root $> error.log

Explanation