Shih-Shen Lu

統計

Linux



Linux 是什麼?作業系統?應用程式?還是設備?答案是作業系統。是UNIX-like的作業系統,那什麼是unix呢?一套很嚴謹的作業系統,細節就請有興趣的讀者自行鑽研了。這裡的主題是linux,涵蓋內容有linux上的操作與程式設計以及驅動程式撰寫。
  • Network

    • Network setting
      setting network card let it can receive all packet from the LAN on Linux CentOS5.2 2.6.18-92.1.17.el5PAE
      # ifconfig eth0 promisc
  • System Update

    • yum - yellowdog updater modified

      安裝新軟件: yum install  軟件名稱
      更新軟件    : yum update 軟件名稱
      尋找軟件    : yum search 軟件名稱
      移除軟件    : yum remove 軟件名稱
  • Shell

    • 將秒數轉換成日期
      date -d "1970-01-01 UTC 1232083821 seconds" +"%Y-%m-%d %H:%M"
      輸出是2009-01-16 13:30
  • Autorun

    • /etc/rc.local ( After init process had been finished, it will be executed.)
    • /home/personal home directory/.bashrc (when you log in, it will be executed)