04_Linux常用命令归纳分类

常用命令归纳分类

文件管理

mkdir, rmdir, mv, rm, cp, touch, cat, tac, echo, more, less, head, tail, file, find, rename, ln, pwd, scp, alias

磁盘管理

ls, cd, du, df, mount, unmounts, fdisk

文档处理

wc, sort, uniq, cut, sed, awk, grep, vi, diff

用户和组

useradd, usermod, passwd, userdel, groupadd, groupdel, chgrp, su

文件传输

get, put, wget

网络通信

telnet, nc, ifconfig, ping, netstat, ip, host

备份压缩                         

gzip, bzip2, bunzip2, tar, zip

系统管理

exit, kill, last, ps, top, free, pstree, reboot, halt, shutdown, sudo, who, w, whoami, whereis, which, last, whatis

系统设置

clear, set, unset, hwclock, time, date,

其他

history, hostname, nohup, service, init, rpm, ssh, cal, yum

“.” 代表当前目录 cd . 还是在这个目录里,“..”代表上一级目录,cd ..就返回上一级目录了

cd  /etc/   第一个/代表根目录 如果etc不在根目录下就不必加这个/,第二个/代表etc是目录而非文件,这个也可不加这是系统会自动判断他是文件还是目录

./ 表示也是表示当前目录

 

为大家奉上三个宝贝网站:

http://man.linuxde.net/

http://www.jb51.net/linux/

https://jaywcjlove.github.io/linux-command/

不要问我怎么知道的,反正我又不收你钱,要是忘了或者不会就去查吧。

 

另外再教大家一种方式查看命令的帮助手册

[root@hadoop01 ~]# man clear

猜你喜欢

转载自blog.csdn.net/qq_42246689/article/details/83476949