pwd
The directory you are standing in is called the working directory. To find the name of the working directory, use the pwd command.

ls
To list the files in the working directory, use the ls command.

cd
cd /usr
cd /usr/bin
cd ..
".." notation refers to the working directory's parent directory
cd ./bin
cd bin

http://www.linuxcommand.org/lc3_lts0020.php
直接进入某个目录
cd ~/directoryName

https://zhidao.baidu.com/question/181421264.html
删除目录
rm -rf directoryName

读取文件内容
cat fileName

Show All Running Processes in Linux
https://www.cyberciti.biz/faq/show-all-running-processes-in-linux/
How do I edit files on the command line
To open the file, run
vi /path/to/file
Press i
to enter the Insert mode.
To leave the Insert mode press ESC
.
To delete the character that is currently under the cursor you must press x
If you haven't made any changes, press :q
to leave the file (but you must not be in Insert mode).
If you have made changes, but want to leave the file without saving the changes, press :q!
(but you must not be in Insert mode).
https://www.howtoforge.com/faq/how-to-edit-files-on-the-command-line
https://www.computerworld.com/article/2598082/linux/linux-linux-command-line-cheat-sheet.html
网友评论