linux terminal Quick Basic Operation

Terminal:
Open Method:
1. Open the right terminal
2. Open Run window: alt F2 -> gnome-terminal
open a new terminal ctrl shift n have been opened in the terminal
open tabs within the terminal: ctrl shift t
between the tags each switching: alt digital
closing tag ctrl shift w ctrl d exit

Font enlargement and reduction
Ctrl = Shift + Ctrl ================
Ctrl -

ctrl l clear screen
ctrl a first move the cursor to the line
ctrl e to move the cursor to the end of the line
ctrl k delete position to the end of the line the cursor
position ctrl u cursor to remove the first line

Close terminal
Exit
Ctrl D
Alt the F4

The basic syntax of
the command parameter options

[root @ localhost ~] #
root of the current login user name
@ delimiter
localhost short host names
- the current working directory - the user's home directory
# indicates that the current user is the root user
$ indicates that the current common user

View hostname
[root @ localhost ~] # hostname
localhost.localdomain

Change the host name
temporarily change the
hostname aa.uplook.com
centos7.3
permanent change
hostnamectl the SET-hostname today.uplook.com

Guess you like

Origin blog.csdn.net/weixin_45177186/article/details/91040572