RPM query the package owning
-f <file> — Query the Package Owning <file> How many times have you found a program sitting on your system and wondered …
-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 …
find ./ -name .depend |xargs rm -rf
From : http://linux-net.osdl.org/index.php/Bridge A bridge is a way to connect two Ethernet segments together in a protocol independent way. Packets are forwarded …