Shih-Shen Lu

統計

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)