note
- http://www.tecmint.com/11-lesser-known-useful-linux-commands/
 - http://www.tecmint.com/10-lesser-known-linux-commands-part-2/
 
筆記
- 將 Shell Script 轉為 Binary 執行檔:
 
- 記憶體釋放:
- 指令:
free -m sync echo 3 > /proc/sys/vm/drop_caches
 - Reference:
 
 - 指令:
 
- Number of created screens does not match number of detected devices. Configuration failed.
- /etc/X11/xorg.conf
# 調整解析度 Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" DefaultDepth 24 SubSection "Display" Depth 24 Modes "800x600" "1440x900" "1360x768" "1280x1024" "1280x960" "1152x864" "1024x768" EndSubSection EndSection 
 - /etc/X11/xorg.conf
 - 設定 Terminal 顏色:
- vim ~/.bashrc」
 - 搜尋「#force_color_prompt=yes」這一行字,找到之後將這一行開頭的 # 字號刪除。
 - 重新登入
 
 - Linux BStandard Base, LSB:規範如檔案路徑。
 - 檔案路徑:
- /etc:設定檔案
- 如網路設定:Debian: /etc/netwrok,CentOS: /etc/sysconf。
 
 - /var
- /var/run:放置判斷用的 pid。
 - /var/spool:放需要佇列的東西。
 
 
 - /etc:設定檔案
 - 影片加速、合併:
至於快轉的方式,我在linux上是用mencoder來做。 以下這個指令大約快轉1000倍 mencoder -ovc lavc -nosound -fps 30000 -ofps 30000/1001 INPUT.MPG -o OUTPUT.MPG; 因為拍攝後,dv可能把影片分段存檔,所以在個別快轉後,再一起合併成一個檔。 mencoder -oac copy -ovc copy -idx -o ALL.MPG 1.MPG 2.MPG 3.MPG 
相關資料
- wade/linux/bash
 - wade/linux/grub
 - wade/linux/kill 刪除 process
 - wade/linux/rpcgen
 - wade/linux/simpleDirectMediaLayer 底層多媒體函式庫
 - wade/linux/screen 指令:terminal 視窗管理員。
 - wade/linux/USB2Serial USB 轉 RS232 相關。
 - wade/linux/RS232 linux RS232 測試相關。
 - wade/linux/daemon 背景程式相關
 - wade/linux/git git 版本控制器
 - wade/linux/netcat netcat 提供網路 TCP 與 UPD 服務。
 - wade/linux/nohup no-hup,hup 指的是 SIGHUP(hangup)信號,nohup 就是忽略SIGHUP這個信號。
 
distribution
套件
- wade/linux/font 字型相關:
 
書單
- Embedded Linux: Hardware, Software, and Interfacing
 - Linux 程式設計教學手冊 (Beginning Linux Programming, 4/e)
 - Professional Linux Programming
 - Linux 驅動程式開發實戰 (Essential Linux Device Drivers)
 - Linux 驅動程式 (Linux Device Drivers, 3/e)
 
Reference
            Last modified 12 years ago
            Last modified on Dec 16, 2013, 3:29:49 PM
          
        
        
      