Linux基本指令、以及Debian+LXDE專用熱鍵

This is the LXDE forum for Chinese users. Feel free to ask here in Chinese.
這是 LXDE 的中文討論區,歡迎在本討論區使用中文表達。
Jcrt
Posts: 62
Joined: Tue Sep 02, 2008 11:41 am

Linux基本指令、以及Debian+LXDE專用熱鍵

Post by Jcrt »

這是我個人認為的,我會隨時增減~

常用與實用的指令列表
ls:顯示檔案名稱與內容
cd:更換目錄
sudo:一般distro也許不常用,但是在Debian+LXDE你會時常需要他
apt:這是debian系列特有的指令,下面會專門一篇說明
dpkg:debian系列的安裝套件用指令
exit:離開

實用的指令列表
df:察看硬碟空間
rm:刪除檔案
cp:複製檔案
mv:移動檔案,也可以用來改檔名
mkdir:創造目錄
cat:直接觀看檔案內容
alias:替指令取別名
grep:搜尋檔案中的字串
Last edited by Jcrt on Mon Dec 08, 2008 3:01 am, edited 2 times in total.
Jcrt
Posts: 62
Joined: Tue Sep 02, 2008 11:41 am

Re: Linux基本指令、以及Debian+LXDE專用熱鍵

Post by Jcrt »

想學Linux推薦閱讀一下鳥哥的私房菜,個人覺得相當優異
當然站內也包括指令說明
http://linux.vbird.org/

而這邊使用的是Debian,因此當然也要看一下Debian的教學網站
http://tavi.debian.org.tw/ThePainLessBook

Linux指令參考網路:
http://homepage.ttu.edu.tw/u9106240/pag ... linux.html
http://www.savs.hcc.edu.tw/~chuavv/lcmd/lcmd.htm
http://w3.tceb.edu.tw/study/e/26/linux/basiccommand.htm
http://www.hmes.kh.edu.tw/~jang/linux_com.htm
Last edited by Jcrt on Mon Dec 08, 2008 3:02 am, edited 1 time in total.
Jcrt
Posts: 62
Joined: Tue Sep 02, 2008 11:41 am

Re: Linux基本指令、以及Debian+LXDE專用熱鍵

Post by Jcrt »

linux指令常常會附帶許多參數
不會使用使令的話,可以用man來閱讀一下說明,但是man開出來經常一大串
我個人比較偏好先下--help來看簡單的參數說明

以下列出經常使用的指令+參數
ls -al:觀看目錄下所有檔案
cd ~:回到家目錄
cd -:回到上一個目錄
rm -rf:完全刪除某個目錄
Jcrt
Posts: 62
Joined: Tue Sep 02, 2008 11:41 am

Re: Linux基本指令、以及Debian+LXDE專用熱鍵

Post by Jcrt »

apt是debian所使用的管理套件的工具,最方便之處在於會自動檢查相依性

常見的用法有:
apt-get update:更新套件庫清單
apt-get install:安裝某些套件
apt-get clean:清除安裝完的套件檔案
apt-get remove:移除某些套件

apt也有圖形介面synaptic,如果下指令沒用的話代表你要先用apt-get install synaptic安裝這個套件
另外還有aptitude,可以做 dpkg-reconfigure

如果要修改套件庫的來源,可以到/etc/apt/sources.list修改
Jcrt
Posts: 62
Joined: Tue Sep 02, 2008 11:41 am

Re: Linux基本指令、以及Debian+LXDE專用熱鍵

Post by Jcrt »

Debian+lxde專用熱鍵﹍常用

home鍵類似於windows下的win鍵,熱鍵可以自訂,在/home/user/.config/openbox/lxde-rc.xml可以增減
home+d:跳回桌面
home+e:執行命令
home+F1~F4:切換桌面(預設只有2個桌面)

ctrl+alt+← → ↑ ↓:往左、右、上、下切換桌面(預設桌面是一維的)
alt+tab:切換下一個應用程式
alt+shift+tab:切換上一個應用程式
ctrl+alt+del:叫出工作管理員
F11:全螢幕(但是會跟某些可以開全螢幕的程式衝突… 像是fx或是pdf viewer)

alt+滑鼠右鍵:移動視窗(很好用!因為EPC的螢幕不大…常常會超出範圍)
滑鼠滾輪:切換桌面

另外有二組是linux本身的熱鍵也很常用
ctrl+alt+F1~F3:切換tty,F3是x window system,F1是run startx,因此有些訊息會在那邊顯示,F2則是未使用的tty1
ctrl+alt+breakspace:重新啟動x windows system
Last edited by Jcrt on Tue Dec 09, 2008 5:48 pm, edited 2 times in total.
Jcrt
Posts: 62
Joined: Tue Sep 02, 2008 11:41 am

Re: Linux基本指令、以及Debian+LXDE專用熱鍵

Post by Jcrt »

Debian+lxde專用熱鍵﹍補遺

上一篇寫得是常用熱鍵,這邊把剩餘openbox提供的熱鍵補完

shift+alt+← → ↑ ↓:將應用程式往左、右、上、下桌面移動(預設桌面是一維的)
alt+esc:將應用程式焦點移到最下層
alt+space:顯示應用程式選單
ctrl+alt+tab:跨桌面切換視窗
ctrl+esc:顯示選單


… 還有很多,有興趣的可以去看xml檔慢慢挖
sonsgraf
Posts: 4
Joined: Fri Apr 29, 2011 3:10 am
Contact:

Re: Linux基本指令、以及Debian+LXDE專用熱鍵

Post by sonsgraf »

The inclusion of James Le Gros' character seemed completely pointless.
Locked