The system-state detecting
ifconfig see card status and network information
uname view the system kernel and version information
uptime view system load
free memory used in the system to display the current information
who view the current login host user
Log in to view the system's last record (record in the form of logs)
What used to view the command history
history -c Clear History command
sosreport for the collection of system configuration and schema information, documentation and diagnostic output
cd / into the target directory
cd - return to parent directory
cd ~ home directory
ls view files
-a view all files including hidden file
attributes, such as file size -l view
Text editing commands
touch to create a file
vim to edit files
i (start editing)
esc (exit Edit)
w (save)
q (quit)
! (Forced to save and exit)
cat see less of a plain text file
View more content more plain text file
head -n front view text lines
tail -n to see after a few lines of text
wc statistics for the number of rows specified text, word count, byte count
the number of rows -l
-w number of words
-c number of bytes