Workbook 1 Flashcards
How many virtual consoles does Red Hat Enterprise Linux (RHEL, hereafter) provide?
Six [1/4]
From X, what key combination is used to access the 1st virtual console?
CTRL+ALT+F2 [1/4]
Aside from logout, what command ends a session in a virtual console?
exit [1/5]
What is X server?
A Graphical User Environment/Interface [1/5]
From a virtual console, what key combination can be used to access X server?
CTRL+ALT+F1 [1/5]
What is the name of the terminal application that you are launching when you open a terminal window?
Bourne Again Shell [1/6]
What command can be used to determine who is logged in to a system?
who, w [1/9]
What does pts/0 refer to?
The first terminal window opened in the X Server [1/9]
What command is used to remotely log in to a machine?
ssh (secure shell) [1/9]
Give three reasons why someone would use a virtual console instead of the graphical environment.
- The host machine may not have enough memory to support the graphical environment.
- The virtual terminal is much faster.
- Network servers usually spend their lives in locked closets, administrators often want to avoid the complexity that the graphical interface adds to the system [1/5]
What is a process?
The copy of the program file from the hard drive to the memory. [1/15]
Is Linux a multitasking system? Explain why (not).
Yes, the kernel usually performs one process for about 50 milliseconds. [1/15]
What do Linux users use to interact with the kernel?
Shell [1/16]
What is a PID?
A unique ID for every process running on the system [1/16]
What is an absolute reference?
An exact reference to a file on the filesystem that will work regardless of what the present working directory is. [1/19]
What is an absolute reference for the root user’s home directory?
/root/ [1/19]
What character(s) starts a relative reference?
Either:
- No characters - just the start of the path
- ../ - Parent directory
- ./ - Present working directory [1/19]
What color does the ls command use to display names of (i) directory files, (ii) executable files, and (iii) regular files?
Directory Files: Blue
Executable Files: Green
Regular Files: White [1/20]
What command can concatenate multiple files and output the concatenated result?
cat [1/20]
In which directory is a user placed upon logging in?
The users home directory, unless changed. [1/21]
Give a command line that redirects to calendar.txt the output of the command used to display a calendar.
cal > calendar.txt [1/21]
What does the first word on a command line generally refer to?
The name of the program to run [1/24]
How many switches and arguments are in the following command:
ls -s -w 40 -r /usr
Three switches: -s, -w, and -r
Two arguments: 40, and /usr [1/26]
Long switches always start with what?
– (double dash) [1/26]