The command line RHEL8
Article Directory
Shell resolve
What is shell
- Software provides the user interface (command parser)
- Kernel bodyguard
- Shell is divided into categories:
GUI shell (Graphical User Interface shell that is GUI shell)
command-line shell (Command Line Interface shell that is CLI shell)
Kernel (kernel)
- System kernel
- It is responsible for managing system processes, memory, device drivers, file systems, and network *
- Note: Linux is the name of an operating system kernel is not the name of *
- uname -r: displays the operating system's release number.
Command line prompt
The meaning of the command-line prompt
[kiosk @ foundation0 Desktop] $
- kiosk: open Shell user
- @: Separator
- foundation (): Host Short Name
- Desktop: The current base name of the working directory
- $: Identity prompt (show you are a regular user or administrator user)
How to run the command
[kiosk @ foundation0 Desktop] $ <command> space <parameter> space <target>
[Kiosk @ foundation0 Desktop] LS $
NOTE:
• parameter is used to specify the order of some functions, can also be added without
• command and parameters and use spaces to separate between the target
• parameters "-" indicates an abbreviation of the word, "-" indicates a word spelling
• must enter the following command line prompt is invalid when there is no input prompt the
• how to prompt release character (the CTRL + C)
• using parameters -ABC = -C = -b -a = Bac -CAB
• "the TAB" command line for the filled
Systems commonly used shortcuts
hot key | effect |
---|---|
CTRL + C | Cancel the execution of the command |
CTRL + D | Close the current shell |
CTRL + Shift + N | Open a new shell |
CTRL + Shift + T | Open a new page |
CTRL + A | Quickly move the cursor to the first letter of the command line |
CTRL + E | Quickly move the cursor to the end of the command |
CTRL + U | Delete from the cursor position to the beginning of the line |
CTRL + K | Remove from the cursor position to the end of the line |
CTRL + Shift + C | copy |
CTRL + Shift + V | Stick |
Shell in history to call
history: View historical record
history: Clear the history of the current shell
Call history
Call the method | Recall the effect |
---|---|
Up and down keys | Progressive call |
! digital | Specifies the line calls |
! letter | Specifies the first letter calling |
CTRL + R + keyword | Keyword call |
virtual machine
Operating on a virtual machine
On the desktop, right-click on the open terminal
input
rht-vmctl start workstation // Open
rht-vmview view workstation // display
rht-vmctl reset workstation // reset
rht-vmctl poweroff workstation // off
rht-vmctl status workstation // display status