常用命令:
目录操作:
- ls
- cd
- cp
- mv
- rm
- mkdir
- pwd
- ln
文件操作:
- cat
- vim
- more
- less
- head
- tac
- tail
打包压缩:
- tar -zxvf [] 解压缩
- tar -cxvf [] 打包压缩
进程:
- ps -ef | grep docker
- top
- ps -aux | grep linux
- lsof -i:8000
- netstat
查找:
- whereis
- which
- find
- locate
内容操作:
- grep
- cut
- w
系统:
- who
- shutdown
- history