Monthly Archives: February 2012

Delete All Symlink in The Current Directory

find . -maxdepth 1 -type l -exec rm -f {} \;

Posted in Linux, Operating System | Leave a comment

Ad Blocker for Android Browser

If you’re anoyed with ads in your android browser, you should try Ad Block: https://market.android.com/details?id=de.ub0r.android.adBlock&hl=en With ad block your browser will make a request through a proxy server, which is the Ad Block itself. The Ad Block usually setup to … Continue reading

Posted in Android | Leave a comment

Benchmark How Long a Program Runs In Linux Using Bash

The following bash code might come handy for those of you who want to benchmark how long does a program runs. In the following example the assumption is that you want to pass along two parameters for your program to … Continue reading

Posted in Linux, Operating System, Ubuntu | Leave a comment

Auto Login Using SSH Public and Private Keys

Assume that your main server (the one you use the most) is ServerA. And from ServerA, you want to automatically login to ServerB. For illustration purpose, ServerB can be a repo server and you don’t want to keep being asked … Continue reading

Posted in Linux, Operating System, Ubuntu | Leave a comment

Linux Soft Symlink Folder or Directory

$ ln -s /home/rpringad/somefolder /home/rpringad/newfolder #or if your current directory is already /home/rpringad: $ ln -s /home/rpringad/somefolder /home/rpringad/newfolder $ ln -s existingSourceFolder newLinkedFolder

Posted in Linux, Operating System, Ubuntu | Leave a comment