Command line red hat linux
The Bash shortcut that re-executes a specific command in the history list
!number
The Bash shortcut used to re-execute a recent command by matching the command line
!string
Commands discards all messages normally sent to the terminal
&>/dev/null
Command sends both output and errors to a file, creating it or overwriting its contents
&>file
Pattern will match only filenames that contain a number?
*[[:digit:]]*
Pattern that match only filenames ending with "b"
*b
Pattern will match all filenames containing a "b"
*b*
the directory that is the Top of the systems file system hierarchy
/
the directory that contains persistent system specific configuration data
/Etc
What is the name of the device file of an entire SATA hard drive in the /dev directory?
/dev/sda
the device file name of the third partition on the second SATA hard drive.
/dev/sdb3
What is the name of the device file for the entire second virtio-blk disk attached to a virtual machine?
/dev/vdb
The name of the device file for the third partition on the second virtio-blk disk attached to a virtual machine?
/dev/vdb3
file represents the location of the local group information?
/etc/group
file represents the location of the local user account information?
/etc/passwd
the directory which contains users home directories
/home
the directory that is the administrative superuser's home directory
/root
the directory that contains non-persistent process runtime data
/run
the directory which contains temporary files
/tmp
the directory that contains installed software programs and libraries
/usr
the directory which contains regular commands and utilities
/usr/bin
the directory that contain Dynamic data such as for databases and websites
/var
Which directory accommodates the human-readable syslog files?
/var/log
What file stores console messages related to system startup?
/var/log/boot.log
Which file stores syslog messages related to the scheduled jobs?
/var/log/cron
Which file stores syslog messages related to the mail server?
/var/log/maillog
Which log file stores most syslog messages, with the exception of those that are related to authentication, mail, scheduled jobs, and debugging?
/var/log/message
Which log file stores syslog messages related to security and authentication operations in the system?
/var/log/secure
Which task(s) can be performed with Red Hat Subscription Management tools?
1 Register a system. 2 Subscribe a system. 3 Enable repositories. 4 Review and track entitlements.
Which number is the size, in bits, of an IPv6 address?
128 bits
Command displays output to a terminal and ignores all errors
2>/dev/null
Which number is the size, in bits, of an IPv4 address?
32 bits
The Bash command that separates commands on the same line
;
Command sends output and errors to the same file ensuring existing file content is preserved
>>file2>&1
Command saves output to a file and discards error messages
>file 2> /dev/null
Command sends output to a file and sends errors to a different file
>file2>file2
pattern will match only filenames at least three characters in length
???*
the command that is used to return to the current user's home directory
Cd
the command that will always return you to the working directory used prior to your current working directory
Cd -
the command that will always change the working directory to the parent of the current location
Cd ..
the command that will change the working directory to /tmp if the working directory is /home/student.
Cd ../../tmp
the command that changes the working directory up two level from the current location
Cd../..
The command that will always change the working directory to bin
Cd/bin
Benefits of open source software for the user
Code can survive the loss of the original developer. You can learn from real world code and develop more effective applications.
The Bash shortcut that jumps to the end of the command line
Ctrl+A
The Bash shortcut used to clear characters from the cursor to the end of the command line
Ctrl+K
Bash shortcut that jumps to the beginning of the previous word on the command line
Ctrl+LArrow
The Bash shortcut that copies the last argument of the previous command
Esx+.
item represents a number that identifies the group at the most fundamental level?
GID
The Bash command that displays the list of previous commands
History
item represents the location of the user's personal files?
Home directory
two statements that describe the benefits of Linux
Linux is modular and can be configured as a full graphical desktop or a small appliance. Linux includes a powerful and scriptable command line interface enabling any easier Automation and provisioning.
item represents the program that provides the user's command-line prompt
Login shell
the fourth field of the /etc/passwd file
Primary group
the command that displays the absolute path name of the current location
Pwd
Which GUI tool is used to register and subscribe a system?
Red Hat Subscription Manager
Which state represents a process that is sleeping until some condition is met?
S
Which state represents a process that has been stopped or suspended?
T
The Bash shortcut used to complete commands, file names, and options.
Tab
this term describes the Interpreter that executes commands typed as a string
The Shell
Item represents a number that identifies the user at the most fundamental level
UID
Which state represents a process that has released all of its resources except its PID?
Z
Pattern that will match only filenames where the first character is not "b"
[!b]*
Pattern will match only filenames that begin with an uppercase letter
[[:upper:]]*
Pattern that will match only filenames beginning with "b"
b*
Which command provides an overview of the file system mount points and the amount of free space available in SI units?
df -H
Which process does a parent use to duplicate to create a new child process?
fork
the command that lists the files in the current location, using long format, and including hidden files
ls -al
Which term allows one system to send traffic to a special IP address that is received by multiple systems?
multicast
Which term determines how many leading bits in the IP address contribute to its network address
netmask
this term describes the hardware display and physical keyboard used to interact with the system
physical console
Which service sorts and organizes syslog messages into files in /var/log?
rsyslog
Which command is used to register a system without using a graphical environment?
subscription-manager
this term describes a few part of the command line that specifies the Target that the command should operate on
the argument
this term describes the name of a program to run.
the command
this term describes the parts of the command line that adjust the behavior of the command
the option
this term describes the visual cue that indicates an interactive shell is waiting for the user to type a command.
the prompt
the term that describes an interface that provides a display for output and a keyboard for input to a shell session
the terminal
Two ways that red hat develops their products for the future and interacts with the community and interacts with the community.
they sponsor and integrate open source projects into the community-driven Fedora project. Participates in Upstream projects.
this term describes one of multiple logical consoles that can eat support an independent login session
virtual console
Command sends output to both the screen and a file at the same time
| tee file