Tag Archives: linux

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 , | Leave a comment

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

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

command line fun – finding the right jar file

Where did I set down my mobile phone is quickly answered by a quick telephone call or a sms from another phone.  If everything were only that simple. I receive a bit of code from a buddy at work that … Continue reading

Posted in Command line, programming | Tagged , | Comments Off on command line fun – finding the right jar file

“lp” and the automation of printing PDF’s

Apache FOP is actually really neat.  With a few jar files, an xslt file and a xml file it is possible to create PDF file which can then be viewed or printed on any PC without any loss of formatting.  … Continue reading

Posted in Command line | Tagged | Comments Off on “lp” and the automation of printing PDF’s

Punishment for laziness – root password recovery

I had a new idea for adding one more computer to my life.  The task was to actually provide some fun new functionality to my family and I attacked the task. At the beginning, I needed to log in as … Continue reading

Posted in Command line | Tagged , | Comments Off on Punishment for laziness – root password recovery

command line fun – spaces and arguments

I normally get to control most aspects of the program.  The most important yet trivial is the parameters that are being passed to the program.  Because I know what I want it is usually possible to coerce the calling script … Continue reading

Posted in Command line | Tagged , | Comments Off on command line fun – spaces and arguments

command line fun – getting to the base of things

Just a short time back I received a mail from a colleague with an error message.  The question from him was about the error and more importantly was this my program.  I did find some code that generated the same … Continue reading

Posted in Command line, programming | Tagged , | Comments Off on command line fun – getting to the base of things