常用的linux命令!

猿友 2021-03-29 11:34:02 浏览数 (2265)
反馈

今天 w3cschool 小编为大家整理了一些常用的 linux 命令,希望可以帮助到大家更好的学习 linux。

查看硬件相关信息命令

ifconfig​ ​free​​ ethtool​ ​mii-tool​ ​fdisk​ ​dmindecode​ ​lspci​ ​dmesg

内存

free​ ​top​ ​mpstat​ ​vmstat​​ iostat​ ​sar

监视命令

uptime​ ​top​ ​free​ ​vmstat​ ​sar​​ iostat​ ​chkconfig

CPU

top​ ​vmstat​ ​mpstat ​​iostat ​​sar 

I/O

vmstat ​​mpstat ​​iostat ​​sar

进程

ipcrm ​​ipcs ​​lsof ​​lstrace ​​strace

负载

uptime ​​mount ​​umount ​​df ​​du ​​dd​ ​fsck ​​dumpe2fs ​​dump

系统管理

uptime ​​top ​​free ​​mpstat ​​vmstat ​​iostat ​​sar ​​chkconfig

系统安全

chmod​ ​chown​ ​chgrp​ ​chage ​​passwd​ ​sudo​ ​su​ ​umask​ ​chattr

关机和查看系统信息

shutdown​ ​halt​ ​init

以上就是 w3cschool 小编整理的常用的 linux 命令。

小编提醒:要想熟记这些命令,最快的方法就是反复使用它,也就是练习代码哦。

更多 linux 学习请关注 w3cschool 官网。

推荐课程:linux微课linux入门




0 人点赞