Changing Yum Channel
edit /etc/sysconfig/rhn/sources yum scientific-base http://ftp.scientificlinux.org/linux/scientific/45/$ARCH/SL/RPMS/ yum scientific-errata http://ftp.scientificlinux.org/linux/scientific/45/$ARCH/errata/SL/RPMS/
edit /etc/sysconfig/rhn/sources yum scientific-base http://ftp.scientificlinux.org/linux/scientific/45/$ARCH/SL/RPMS/ yum scientific-errata http://ftp.scientificlinux.org/linux/scientific/45/$ARCH/errata/SL/RPMS/
http://www.redhat.com/magazine/023sep06/features/tips_tricks/?intcmp=bcm_edmsept_007 by Vince Worthington II Release Found: Red Hat Enterprise Linux 3 and 4 The Apache webserver supports various methods of requiring …
-f <file> — Query the Package Owning <file> How many times have you found a program sitting on your system and wondered …
ps | grep test | awk ‘{print $1}’ | xargs kill
killall -SIGUSR2 udhcpc
To disable the beep in the x-terminal: xset -b
例如 ps 結果如下 programname 1 programname 1 programname 2 programname 1 然後想 kill programname 1 而不想傷害到 programname 2 但是使用killall又會把programname砍光. 所以可以使用下面命令 ps | …
aloha:~/Documents/Codes samtz$ grep cfgversion test.xml <fileHeader fileversion=”0.1.0.1″ filename=”test.xml” filetype=”xml” cfgversion=”33″ cfgmversion=”0″ cfgsversion=”0″ swversion=”1.0.1.0″ sendname=”la la” vendername=”xx”/> aloha:~/Documents/Codes samtz$ grep cfgversion test.xml | …
http://desktop.google.com/linux/ 快去下載來玩看看吧!
在執行 shell 程式發生”bad interpreter: No such file or directory”的錯誤. 把\r換成空的就可以解決 perl -i -pe’s/\r$//;’ <file name here> bad interpreter: No such file or …