当前位置:网站首页>RHCSA2
RHCSA2
2022-07-05 12:50:00 【Grey rain】
2、 Accessing the command line
# by root
¥ For ordinary users
Multiple commands can be used ; separate
ctrl+alt+F1-F6
Switch console , The default is in F1
ctrl+alt+F3 Enter the text interface
ls List the information of the current directory
-l List details
-a Do not ignore hidden files
-R Represent recursion
ls -l /tmp/ List tmp Details of the catalogue
ll = ls -l
–help Help file
adopt ssh Remote connection
ssh [email protected] Address
Use xshell
Simple method
Sign in root user
dhclient dhcp Get address
ipconfig Check the address
Find the address of the same network segment as the virtual network card
ssh root@
x.x.x.x
exit sign out
For the convenience of writing static IP, Specific operation reference : Preparation for installation
whoami Output the current user
date Show date
+%F Output in the mode of year month day (-)
+%T Output in the mode of year month day (:)
passwd Change user password , The new password needs to be case sensitive , There are letters and so on
root You can change everyone's password , No complexity limit
passwd user name
file Test file type
file /xxx/ file
View file contents
cat List all contents of the file
head Before listing files 10 That's ok
tail After listing the files 10 That's ok
more Show a part first , Show other ,q perhaps ctrl+c sign out
head and tail
-n x List x That's ok
wc Statistics file characters
wc /xx/ file
history Call up all the running commands
! x call x The command
! xxxxxxx Match and run the command from back to front
tab completion
alt+. List the last field of the previous command
ctrl + c Closing order
\ A newline
ctrl a Switch to the head
ctrl e Tail of switch
边栏推荐
- 10 minute fitness method reading notes (2/5)
- Kotlin function
- Time conversion error
- JDBC -- use JDBC connection to operate MySQL database
- Pytoch implements tf Functions of the gather() function
- Making and using the cutting tool of TTF font library
- Taobao short videos are automatically released in batches without manual RPA open source
- #yyds干货盘点#js截取文件后缀名
- Distributed solution - distributed lock solution - redis based distributed lock implementation
- Kotlin变量
猜你喜欢
非技术部门,如何参与 DevOps?
Comprehensive upgrade of Taobao short video photosynthetic platform
How to connect the API interface of Taobao open platform (super detailed)
From the perspective of technology and risk control, it is analyzed that wechat Alipay restricts the remote collection of personal collection code
RHCAS6
DNS的原理介绍
Preliminary exploration of basic knowledge of MySQL
HiEngine:可媲美本地的云原生内存数据库引擎
Vonedao solves the problem of organizational development effectiveness
Tips and tricks of image segmentation summarized from 39 Kabul competitions
随机推荐
Average lookup length when hash table lookup fails
Detailed structure and code of inception V3
Wechat enterprise payment to change access, open quickly
Install rhel8.2 virtual machine
How to connect the API interface of Taobao open platform (super detailed)
Neural network of PRML reading notes (1)
UNIX socket advanced learning diary - advanced i/o functions
HiEngine:可媲美本地的云原生内存数据库引擎
Simply take stock reading notes (3/8)
Taobao order interface | order flag remarks, may be the most stable and easy-to-use interface
Distributed solution - Comprehensive decryption of distributed task scheduling platform -xxljob
Clear neo4j database data
VoneDAO破解组织发展效能难题
Experimental design - using stack to realize calculator
Sqoop import and export operation
Comprehensive upgrade of Taobao short video photosynthetic platform
Distributed solution - distributed session consistency problem
Simply take stock reading notes (1/8)
Annotation problem and hidden Markov model
C alarm design