Midterm
The regular expression metacharacter that maches 0 or more occurrences of the previous character.
*
In file mode, a permission that is unavailable is represented by what character?
-
A recent version of the UNIX SysV system initialization process used on moderm Linux distributions
Upstart
Two files extensions that are associated with c++
.cpp .cc
At what runlevel foes a Linux system have no daemons active in memory, allowing it to be safely powered off?
0
What is the mode that corresponds to settings r-x?
5 Ex: r=4 + x=1 = 5
At the vi command mode prompt, what key combinations below will force a quit from the vi editor without saving changes?
:q!
In the GNUEmacs editor, what key combination can be used to delete all characters between the cursor and the end of the line?
Ctrl+k
Is the mode that works with the file system. Use it to save files after editing them
Command Line Mode
Is the initial mode vim uses when started. It has commands that cut and replace text, and it is mode vi to enter the other modes
Command Mode
Is the mode that vim uses to write and edit text in the file. It has two operation modes: Insert mode adds text between the preceding and subsequent text. Replace mode overwrites subsequent text
Edit mode
What two special permissions can be applied in order to effectively allow a user to become owner of a file, or become a member of a group, by executing a file?
SGID SUID
A relatively new software framework used on Linux systems that rpovides a system initialization process and system management functions
Systemd
If enough unique letters of a directory name have been typed, what key can be used to activate the BASH shell's completion feature?
TAB
A UNIX standard that is used to provide the structure of the system initialization process on Linux systems
UNIX SysV
The overall cost of using a particular OS is known as?
Total cost of ownership (TCO)
The component of X Windows that request grphics to be drawn from the X server and displays them on the terminal screen
X client
The component of X windows that draws graphics to windows on the terminal screen
X server
What commands will work recursively if specified with the -R option?
cp rm
What two commands below will halt a Linux system shutdown immediately? a. halt b. shutdown -r now c. shutdown -H now d. shutdown -g now
a. halt c. shutdown -H now
The partition searched for an OS after the MBR/GPT
active partition
A hard drive or SSD can be divided into partitions. What is the maximum number of primary partitions that can be used on these devices? a. 1 b. 7 c. 4 d. 5
c. 4
What two Linux distributions below utilize the Debian package manager by default? a. Red Hat b. Centos7 c. Linux Mint d. Ubuntu
c. Linux Mint d. Ubuntu
In order to move from a directory to another, what command should be issued?
cd
Assuming that Bob is the file's owner, what two commands below will grant only the execute permission to username bob on file1?
chmod 777 file1
In what mode does the vi editor open by default?
command mode
A Linux system process that provides a system service
daemon
In vi, using commands mode, what series of key presses will cause the line on which the cursor is on to be deleted?
dd
After a shell is no longer needed what command can be given to exit the shell?
exit
What two commands can be used to locate files on a filesystem?
find locate
After modifying the /etc/default/grub file, what command should be run to rebuild the grub config file?
grub-mkconfig
In order to create a hard link, what command must be used?
ln
In order to create a symbolic link, what command must be used?
ln -s
What command can be used to provide a long listing for each file in the directory? and the most associated alias available on most Linux systems?
ls -l ll
Because Linux has the ability to manage thousands of tasks at the same time, including allowing multiple users to access to access the system simultaneously, it is referred to as an OS that is:
multitasking multiuser
The default window manager for the GNOME desktop Environment in Fedora
mutter windows manager
If a file's permissions are set to 760, what permissions are available to the group assigned to the file?
read write
A UNIX SysV term that defines a certain type and number of daemons on Linux system
runlevel
An archive of files that usually contain scripts that install the software contents to the correct location on the system is referred to as a :
tarball
A Systemd term that is used to describe the number and type of ddaemosn running on a Linux system. It is fuctionally equivalent to the UNIX SysV term runlevel
target unit
In order to create an empty file, what command can be used?
vim file1
What permission( when assigned a file) grants a user the ability to open, read, and edit the contents of a file?
write