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是目錄而非檔案,這個也可不加這是系統會自動判斷他是檔案還是目錄
./ 表示也是表示當前目錄
為大家奉上三個寶貝網站:
https://jaywcjlove.github.io/linux-command/
不要問我怎麼知道的,反正我又不收你錢,要是忘了或者不會就去查吧。
另外再教大家一種方式檢視命令的幫助手冊
[[email protected] ~]# man clear |