线上查询及帮助命令( 2 个)
man help
●文件和目录操作命令( 13 个)
ls tree pwd mkdir rmdir cd touch cp mv rm ln find rename
●查看文件及内容处理命令( 22 个)
cat tac more less head tail cut split paste sort uniq wc iconv
dos2unix file diff vimdiff chattr lsattr rev grep egrep
●文件压缩及解压缩命令( 4 个)
tar unzip gzip zip
●信息显示命令( 12 个)
uname hostname dmesg uptime file stat du df top free date cal
●搜索文件命令( 4 个)
which find whereis locate
●用户管理命令( 10 个)
useradd usermod userdel groupadd passwd chage id su
visudo sudo
●基础网络操作命令( 10 个)
telnet ssh scp wget ping route ifconfig ifup ifdown netstat
●深入网络操作命令( 6 个)
lsof route mail mutt nslookup dig
●有关磁盘文件系统的命令( 8 个)mount umount df du fsck dd dumpe2fs dump
●关机和查看系统信息的命令( 3 个)
shutdown halt init
●系统管理相关命令( 8 个)
uptime top free vmstat mpstat iostat sar chkconfig
●系统安全相关命令( 10 个)
chmod chown chgrp chage passwd su sudo umask chattr
lsattr
●查看系统用户登陆信息的命令( 7 个)
whoami who w last lastlog users finger
●查看硬件信息相关命令( 8 个)
ifconfig free fdisk ethtool mii-tool dmidecode dmesg lspci
●其它(19 个)
echo printf rpm yum watch alias unalias date clear historyeject time nohup nc xargs exec export unset type
●系统性能监视高级命令 (12 个)
内存 :top free vmstat mpstat iostat sar
CPU:top vmstat mpstat iostat sar
I/O:vmstat mpstat iostat sar
进程 :ipcs ipcrm lsof strace lstrace
负载 :uptime
mount umount df du fsck dd dumpe2fs dump
●关机和查看系统信息的命令( 3 个)
shutdown halt init
●系统管理相关命令( 8 个)
uptime top free vmstat mpstat iostat sar chkconfig
●系统安全相关命令( 10 个)
chmod chown chgrp chage passwd su sudo umask chattrlsattr
●查看系统用户登陆信息的命令( 7 个)
whoami who w last lastlog users finger
●查看硬件信息相关命令( 8 个)
ifconfig free fdisk ethtool mii-tool dmidecode dmesg lspci
●其它(19 个)
echo printf rpm yum watch alias unalias date clear history
eject time nohup nc xargs exec export unset type
●系统性能监视高级命令 (12 个)
内存 :top free vmstat mpstat iostat sar
CPU:top vmstat mpstat iostat sar
I/O:vmstat mpstat iostat sar
进程 :ipcs ipcrm lsof strace lstrace
负载 :uptime关机 / 重启 /注销命令( 7)
关机重启 :
shutdown init halt poweroff reboot
注销退出:
logout
exit
ctl+d —— > 快捷键 (生产常用 )
●进程管理:( 16 个)
bg :后台运行 fg :挂起程序 jobs :显示后台程序 kill,killall,pkill :杀掉进程
crontab :设置定时 ps :查看进程 pstree :显示进程状态树
top :显示进程 nice :改变优先权 nohup :用户退出系统之后继续工作
pgrep :查找匹配条件的进程 strace :跟踪一个进程的系统调用
ltrace :跟踪进程调用库函数的情 vmstat :报告虚拟内存统计信息
●非常危险的系统命令( 5 个):
mv rm
fdisk parted dd●linux 系统四位剑客( 3 个)
grep (egrep ) sed awk
Linux150个常用命令
最新推荐文章于 2023-05-25 19:45:16 发布