linux learning three

ifconfig: Get network card information
uname -a View version information
uptime View system load
free -h View memory usage
who View current login information
last View local login
history history Command query
pwd Display current directory
cd Switch path
ls -al View file
cat View small files
more View large files
head -n View the beginning X line
tail -n View the last line
tr Replace
wc -l Display the number of lines -w Display the number of words -c Display the number of bytes
Stat file specific storage information
cut Extract
diff by column- -brief compare two files
touch create file -d modification time
mkdir create folder
cp copy file
mv cut
rm -f delete file -rf delete folder
dd copy
file according to the specified size view file type
tar czvf/xzvf file.tar. gz compress/decompress
grep extract by line
find find file

linux learning three

Guess you like

Origin blog.51cto.com/14813310/2540901