Copyright: qq836678589 https://blog.csdn.net/weixin_43924623/article/details/91351578
cd
$cd ..
Into the parent directory
$cd /
into the root directory
$cd -
to fall back to the last directory
pwd
$pwd -P
Physical path to display the current directory
$pwd -L
displays links to current directory
mkdir
$mkdir -p zhou/test
Creating multiple directories.
$mkdir -m 777 wu
Wu directory permissions set to [rwxrwxr-x].
$mkdir -vp zhou/wu
Create a directory and display.
rm
$rm * rf
Executing this command will destroy the entire system under the root directory.
$rm *.log
You can speak suffix .log file interactive deleted.
mv
$mv a b
Will file a renamed b, or move a file into a directory b
which
$which gcc
If the installation is determined whether the installation is given gcc path.
whereis
$whreeis
Retrieve the file and determine location.