Wireless switch not working on Linux ? Try rfkill.

January 23rd, 2011

I have been using Ubuntu on my laptop without any problems but recently ran into a weird issue- my wireless would not switch on. Usually turning off and turning on the wireless switch on my laptop used to solve this problem but this time that did not work. Next, I tried the usual ifconfig wlan0 [...]

5 common image manipulation tricks using ImageMagick

November 15th, 2009

Webmasters/Webdesigners often need to do repetitive image manipulation tasks like resizing for thumbnails, image borders etc. Even though a plethora of image manipulation software are available, nothing beats ImageMagick when you need to perform simple tasks, especially since it lends itself well to automation using shell scripts. We outline here 5 common image manipulation techniques with ImageMagick.

Shell script to remove spaces in file names

September 23rd, 2009

Ever ftp’d Windows files into a unix box and then found that some of your scripts break because the file names have spaces in them? Here are couple of one liners that will help fix this by removing one or more spaces in the file names.

Connect to Oracle database and run SQL from a shell script

September 15th, 2009

Although it is not usual (or preferred) to use a shell script to execute sql queries in Oracle, this recipe discusses how this can be done for those rare cases when you need to.

How to mount ISO images on HP-UX, Solaris and Linux

May 20th, 2009

Need to mount an ISO image on Unix without going through the extra hassle of burning it to disk? This recipe shows you how to do that on Solaris, HP UX and Linux.

Prevent symlinks from breaking during pkgadd in Solaris

April 17th, 2009

In some Solaris systems, while using pkgadd or while installing software in a symlinked (soft linked) directory, the symlink breaks and a directory is created instead.

Sponsors