码迷,mamicode.com
首页 > 系统相关 > 详细

最常用且非常重要的Linux命令

时间:2018-08-14 22:55:53      阅读:245      评论:0      收藏:0      [点我收藏+]

标签:chm   常用   find   system   mkdir   name   netstat   ups   ifconfig   

 

1、针对文件或目录类

cd:

cat:

ls:

pwd:

ln:

mv:

cp:

vi、vim:

find:

mkdir:

touch:

echo:

rm:

chmod:

chown:

chattr:

scp:

grep:

sort:

uniq:

wc:

tr:

tar:

unzip:

whereis:

which:

 

2、性能监测与优化

netstat:

free:

df:

du:

strace:

time:

top:

 

3、文件系统管理

dumpe2fs:用于打印“ext2/ext3”文件系统的超级块和快组信息。

mount:用于加载文件系统到指定的加载点。

umount:用于卸载已经加载的文件系统。

 

4、用户和用户组管理

chage:

gpasswd:

groupadd:

groupdel:

groupmod:

groups:

id:

passwd:

useradd:

userdel:

usermod:

 

5、系统安全

last:

lastb:用于显示用户错误的登录列表,此指令可以发现系统的登录异常。

lastlog:

sudo:

 

6、进程和作业管理

crontab:

init:

killall:

nohup:

ps:

pstree:

runlevel:

service:

systemctl:

w:

 

7、网络管理

curl:

mail:

telnet:

wget:

dig:

ping:

traceroute:

ifconfig:

hostname:

 

其他:

yum:

cut:

head:

tail:

more:

less:

tree:

md5sum:

clear:

man:

rsync:

rpm:

 

之后详细说明每个命令的作用,如有不足,烦请指正。

 

最常用且非常重要的Linux命令

标签:chm   常用   find   system   mkdir   name   netstat   ups   ifconfig   

原文地址:https://www.cnblogs.com/cpw6/p/9478253.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!