Tag Archives: scripting

command line fun – finding mistakes

I knew that I had mistyped but it was too late.  I tried to exit out of vi in a hurry and accidentally exited but saved the file under a new name.  This wouldn’t have been so bad if the … Continue reading

Posted in programming | Tagged , | Leave a comment

command line fun – temporary data

Most of the scripts that I need to write don’t actually need to manipulate a lot of data.  It is usually enough to pipe that data through a command or two and use the result.  When this isn’t acceptable then … Continue reading

Posted in programming | Tagged , | Comments Off on command line fun – temporary data

bash – More powerful than a speeding locomotive

(flashback) Our project was inching closer and closer to going live.  On the evening before the Easter break some clod started a massive report which tried to process all the data since the beginning of time. My colleague’s inefficient program gathered … Continue reading

Posted in programming | Tagged , | Comments Off on bash – More powerful than a speeding locomotive

security in obscurity

It didn’t make all that much sense to me. Why did the team write their own bug tracking application when they could have either purchased one or used an open source solution.  I guess the team felt that only they … Continue reading

Posted in security | Tagged , | Comments Off on security in obscurity

command line fun – unlimited command line length

While looking into another problem, plethora of shells, I was initially afraid that some of my fooling around was causing some odd side effects.  While investigating I ended up with a different solution that was actually overkill but it help … Continue reading

Posted in Command line | Tagged , | Comments Off on command line fun – unlimited command line length

a plethora of shells – what is my shell interpreter

I kept seeing odd error messages from my shell script that simply made no sense.  No matter what changes I made a new error seemed to pop up.  A short while later I did notice at the top of the … Continue reading

Posted in Command line | Tagged , | Comments Off on a plethora of shells – what is my shell interpreter

Windows powershell scripting

Powershell scripting is not too difficult to pick up and there is a wealth of examples on the internet to help solve any syntax related question. Simply call the appropriate Powershell “cmdlet” to perform the required task.  The return value … Continue reading

Posted in programming | Tagged , | Comments Off on Windows powershell scripting

Windows scripting sucks or does it?

I am not a fan of the big MS.  It started a long time ago when my funds were limited and I simply couldn’t afford to keep up with the MS upgrade schedule.  Not all of their software back in the … Continue reading

Posted in programming | Tagged , | Comments Off on Windows scripting sucks or does it?

command line fun – finding more space

I may not know where I set down my keys or my latest copy of Linux Magazine, but I do know where my programs are installed.  If I cannot think of where one of my files is I can always … Continue reading

Posted in programming | Tagged , | Comments Off on command line fun – finding more space

command line fun – finding a list of files

In Unix at the command line there is almost always an alternative method to do something. I usually remember this when I need to process a few files in the current working directory and I may not always have the … Continue reading

Posted in Command line | Tagged , | Comments Off on command line fun – finding a list of files