本系列会将《鸟哥的Linux私房菜-基础版》中的一些个人觉得比较有用的命令行单独摘出来,方便查阅
-
dc计算器 -
man man可以查看命令后面括号跟着的数字是干啥使的 -
nano一款小巧的编辑工具 -
who查案当前服务器有哪些用户正在使用 -
w显示当前登录用户有哪些以及这些用户正在干嘛 -
netstat -a查看网络联机状态 -
ps -aux查看进程状态 -
sync将内存中的临时数据写入硬盘 -
shutdown -h now立刻关机 -
systemctl poweroff关机 -
systemctl reboot重启 -
systemctl suspend休眠
- 命令后面括号里数字的意义:
- 1 Executable programs or shell commands
- 2 System calls (functions provided by the kernel)
- 3 Library calls (functions within program libraries)
- 4 Special files (usually found in /dev)
- 5 File formats and conventions eg /etc/passwd
- 6 Games
- 7 Miscellaneous (including macro packages and conventions), e.g. man(7), groff(7)
- 8 System administration commands (usually only for root)
- 9 Kernel routines [Non standard]
Linux常用命令速查
本文摘录了《鸟哥的Linux私房菜-基础版》中的实用Linux命令,包括计算器(dc)、编辑器(nano)、用户查询(who/w)、网络状态(netstat)、进程查看(ps)、数据同步(sync)及系统控制(shutdown/systemctl),并解释了命令后的数字括号含义,适合快速查阅。
522

被折叠的 条评论
为什么被折叠?



