命令縮寫:
ls:list(列出目錄內(nèi)容)
cd:Change Directory(改變目錄)
su:switch user切換用戶
rpm:redhat package manager紅帽子打包管理器
pwd:print work directory打印當前目錄 顯示出當前工作目錄的絕對路徑
ps: process status(進程狀態(tài),類似于windows的任務管理器)常用參數(shù):-auxf
ps -auxf顯示進程狀態(tài)
下載過程中l(wèi)inux常用命令,可在源碼目錄中使用命令du –sh或du –sm查看下載了多少,查看文件和文件夾大小可用命令du -h,可用參數(shù)--max-depth指定目錄深度,查看當前目錄使用的總空間大小du -h --max-depth=0,查看當前及其下一級各目錄使用的總空間大小為:du-h --max-depth=1,依次類推。可用共享磁盤網(wǎng)格會顯示可用磁盤的列表、每個磁盤是否可用作共享磁盤以及每個磁盤資源的說明。a.早期一鍵恢復備份時發(fā)現(xiàn)最后隱藏分區(qū)磁盤空間不足會自動向最后一個分區(qū)分空間來備份,但是前提時此磁盤必須有連續(xù)的fat32空間可用,當最后一個分區(qū)不是fat32格式,或者一些磁盤碎片導致磁盤空間不連續(xù)將導致無法備份,會提示空間不足。
rpm: 即RedHat Package Management,是RedHat的發(fā)明之一
rmdir:Remove Directory(刪除目錄)
rm:Remove(刪除目錄或文件)
comm -1 file1 file2 比較兩個文件的內(nèi)容只刪除 ‘file1’ 所包含的內(nèi)容。 2 # 把file1,file2,file3連接在一起,并且重定向到combined_file中.。mget file1 file2 file3 filen 從服務器上下載多個文件。
insmod: install module,載入模塊
ln -s : link -soft創(chuàng)建一個軟鏈接,相當于創(chuàng)建一個快捷方式
mkdir:Make Directory(創(chuàng)建目錄
touch
man: Manual
pwd:Print working directory
su:Swith user
cd:Change directory
ls:List files
ps:Process Status
mkdir:Make directory
rmdir:Remove directory
mkfs: Make file system
fsck:File system check
cat: Concatenate
uname: Unix name
df: Disk free
du: Disk usage
lsmod: List modules
mv: Move file
rm: Remove file
cp: Copy file
ln: Link files
fg: Foreground
bg: Background
chown: Change owner
chgrp: Change group
chmod: Change mode
umount: Unmount
dd:本來應根據(jù)其功能描述“Convert an copy”命名為“cc”,但“cc”已經(jīng)被用以代表“C Complier”,所以命名為“dd”
tar:Tape archive
ldd:List dynamic dependencies
insmod:Install module
rmmod:Remove module
lsmod:List module