目錄 |
1.1、 linux 各個分區的作用
參考博主“沉淀”的總結:linux目錄結構以及作用
1.2、swap 和 temp 區別
swap 用於普通程序的數據交換,temp 用於系統程序的數據交換
2.1、軟件安裝、卸載、執行
詳見我的另一篇博文:linux —— 學習筆記(軟件操作:安裝、卸載、執行)
2.2、文件、文件夾操作
詳見我的另一篇博文:linux —— 學習筆記(文件、文件夾操作)
2.4、用戶管理
詳見我的另一篇博文: linux —— 學習筆記(用戶管理與權限控制)
3.1、查看文件大小
使用linux命令df 和du,df。 【 df -h 】 【du -h --max-depth=1 /usr】
但是df只能查看一級文件夾大小、使用比例、檔案系統及其掛入點,但對文件卻無能為力。du可以查看文件及文件夾的大小。所以基本上是兩者配合使用。
3.2、磁盤使用情況分析器
baobab Link
3.3、系統服務的操作
NAME systemctl - Control the systemd system and service manager SYNOPSIS systemctl [OPTIONS...] COMMAND [NAME...]
NAME service - run a System V init script SYNOPSIS service SCRIPT COMMAND [OPTIONS]
如: systemctl status networking / service networking restart
3.4、ifconfig 配置網絡接口
NAME ifconfig - configure a network interface SYNOPSIS ifconfig [-v] [-a] [-s] [interface] / ifconfig [-v] interface [aftype] options | address ...
如: -a 查看所有網絡接口 ifconfig -s 以簡要的格式顯示網絡接口 ifconfig eth0 up 啟動 eth0
3.5、進程管理
參考鏈接:管理進程的10個實用命令:link
top
htop: 沒有的話則先—— sudo apt-get install htop(apt-get 安裝原理?))
ps:ps -A | grep firefox ps -A | less
pstree
kill :kill pid (kill -KILL或者kill -9 來殺死頑固的進程)
pgrep: 尋找進程ID ,與kill 結合—— kill $(pgrep lantern)
pkill & killall: pkill lantern <=> killall lantern <=> pgrep lantern
renice : renice 19 pid (改變優先級—— -19非常高, 19非常低,0默認的優先級)
xkill : 高級圖形殺,左鍵點到之處killed,右鍵取消
gnome-system-monitor :圖形化的資源管理器
4.1、環境變量的設置
詳見我的另一篇博文:linux —— 學習筆記(環境變量的設置)
待整理:
9、掛載外部設備的方法
None
vi宏的使用技巧:link
查看文件屬性:lsattr、ll 、ls -a
shell 腳本語法:link linux 下創建可運行腳本:link
/bin 下面有常用的指令,可以去探索一下
查看以及安裝的文件 dpkg -l (redeclipse的刪除)
tail 命令 用於打印出文件的最后一部分,cat 打印出全部
ubuntu sendmail 服務的使用:查看博文