Day punch

ifconfig: View card information

pidof: view the process ID

kill: a closed process ID

killall: XX shut down all service-related processes

uname: View system kernel information, plus -a display all the information

who: View user login

last: System Log Record

history: view the run command history, "Digital!" you can run the command, add -c to clear all records

sysreport: packaging system information, to prepare to provide maintenance personnel

Display Contents: ls -L | grep "^ d" or ls -F | grep "/ $"

Show Files: ls -L | grep "^ -"

 cat: show the file contents

more: page display file contents

5 line content before the show: head -n 5 filename

5-line display contents: tail -n 5 filename

5 lines continue to refresh the display contents: tail -n 5 -f filename

Character conversion: tr [are converted contents] [converted content]

Statistics line: wc -L filename

Count the number of words: wc -w file name

Statistics Number of characters: wc -c filename

View the file information: stat filename

Extraction Column 1 information: character intervals: cut -d1: -f 1 filename

Compares two files are the same: diff -brief file 1 file 2

2 show the various files: diff -c file1 file2

Guess you like

Origin www.cnblogs.com/bokerick/p/11203527.html