If you need to convert a DOS text file to a UNIX text file, and the dos2unix command is not available on your platform, you […]
Exclude files and directories from tar
The example below shows how you can exclude file “somefile.txt” and directory “subfolder6” from the tar command:
Single command line to tar and gzip
Although there are several ways to achieve this, the way I most often tar and gzip files using a single command line is as follows: […]
How to block ads on jailbroken iPhone/iPod Touch
If you have a jailbroken iPhone or iPod Touch, it is quite simple to block many advertisement sites from being displayed either in your Safari […]
Mount an ISO image
In order to mount an ISO image in Linux, so that you can access its contents, use the following command. You may need to change […]
Copy CD to ISO image
In order to copy a CD or DVD to an ISO image in Linux, use one of the following commands below: dd if=/dev/cdrom of=image.iso or: […]
DD-WRT on a Linksys WRT54GS v7 router
At the time this is written (4-FEB-2008), the only 3rd party firmware that will work on a Linksys WRT54GS v7 router is the micro edition […]
Basics of UNIX shell scripts
With UNIX scripts you can do many powerful things. You won’t be able to take over the world with it, but it’s pretty close. Scripts […]
Using Servlet filters in Java web applications
As of the Java Servlet specification version 2.3, a component type, called a filter, can be used in your Java web applications. A filter dynamically […]
Catching errors in Oracle
Sometimes there is a need to find out exactly which Oracle errors are occurring in your code, because your application stacktrace or your log files […]