Linux Final (1-20)

Description

Quiz on Linux Final (1-20), created by Roberto Leon on 25/05/2017.
Roberto Leon
Quiz by Roberto Leon, updated more than 1 year ago
Roberto Leon
Created by Roberto Leon over 7 years ago
67
0

Resource summary

Question 1

Question
1. One of the jobs of the kernel is to:
Answer
  • • 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

Question 2

Question
2. Unix is:
Answer
  • • An operating system
  • • A type of hardware
  • • A trademark
  • • A distribution of Linux
  • • A text editor

Question 3

Question
3. Linux is written in:
Answer
  • • C
  • • .NET
  • • C++
  • • Java
  • • Perl

Question 4

Question
4. Source code refers to:
Answer
  • • 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

Question 5

Question
5. What is the standard option to provide a command line program to view its documentation?
Answer
  • • –info
  • • –doc
  • • –help
  • • -h

Question 6

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

Question 7

Question
7. The whatis command is the same as man -w.
Answer
  • True
  • False

Question 8

Question
8. The directory where additional documentation for software packages most likely can be found is:
Answer
  • • /var/lib/doc
  • • /usr/software/doc
  • • /usr/share/doc
  • • /var/share/doc

Question 9

Question
9. Hidden files are files that begin with what character?
Answer
  • • A plus (+)
  • • A dash (-)
  • • A period (.)
  • • An asterisk (*)

Question 10

Question
10. What option for the ls command will display all files, including hidden files?
Answer
  • • -w
  • • -H
  • • -L
  • • -a

Question 11

Question
11. The top-level directory on a Linux system is represented as:
Answer
  • • /
  • • /root
  • • /home
  • • C:

Question 12

Question
12. Is the following path absolute or relative? /etc/ppp
Answer
  • • Relative
  • • Absolute

Question 13

Question
13. Is the following path absolute or relative? sysadmin/Documents
Answer
  • • Relative
  • • Absolute

Question 14

Question
14. Compression on a file works by:
Answer
  • • 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

Question 15

Question
15. In general, for which of the following would you want to use lossless compression?
Answer
  • • An mp3 audio file
  • • A movie
  • • A log file
  • • A JPEG image
  • • An encrypted email

Question 16

Question
16. Lossy compression: (choose three)
Answer
  • • 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

Question 17

Question
17. You type gzip myfile.tar. What happens? (choose two)
Answer
  • • 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

Question 18

Question
18. Error messages generated by commands are sent where by default?
Answer
  • • STDIN
  • • Log files
  • • STDERR
  • • STDOUT

Question 19

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

Question 20

Question
20. Which of the following commands will direct error messages to the file, error.log? (choose one)
Answer
  • • ls /root > error.log
  • • ls /root >> error.log
  • • ls /root 2> error.log
  • • ls /root $> error.log
Show full summary Hide full summary

Similar

History of Psychology
mia.rigby
Religious Studies- Matters of life and death
Emma Samieh-Tucker
Business Management Exam Review Quiz
emily_hill
GCSE REVISION TIMETABLE
Sophie Thuita
Literary Devices
vanillalove
EXAM 2 - CLASSIFICATIONS /SUBSIDIARIES
kristinephil558
regular preterite tense conjugation -ar verbs
Pamela Dentler
PSBD TEST 1
Mwebaze Green
1PR101 2.test - Část 5.
Nikola Truong
Equality Act 2010 [25 marks]
Carina Storm