Posts Tagged ‘Unix’

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.

Sponsors