2012年12月30日星期日

Useful command / sites

export LD_LIBRARY_PATH=/lib

ldd       #find dependencies

getlibs   #auto install missing libraries
https://launchpad.net/~jcollins/+archive/jaminppa/+build/1482994/+files/getlibs_2.06-0ubuntu1%7Eppa2_all.deb

du  #Size of a directory & Free disk space
source

ps -eO user -H

will show the process tree along with the process status (to determine if it is a zombie -Z- or an uninterruptable sleep -D-)

strace -p pid

pstree

xkill

要強制手動釋放或清除Linux中的Cache Memory可以使用下面的指令
echo 3 > /proc/sys/vm/drop_caches

https://code.google.com/p/nekodrive/    (Mount NFS on windows)

http://tldp.org/LDP/tlk/ipc/ipc.html    IPC

http://tw.myblog.yahoo.com/hughes-blog/article?mid=105   IPC - fork and shared memory

http://developer.android.com/tools/help/proguard.html    Android, prevent reverse engineering

Solve ^M problem
If you get a “dos2unix: not found” error on Ubuntu 10.04 Lucid Lynx, there is the solution:
Install a “tofrodos” package and add two symlinks
root@ramune:/usr/bin# ln -s fromdos dos2unix
root@ramune:/usr/bin# ln -s todos unix2dos

沒有留言:

發佈留言