Category Archives: Command line

“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

Security through obscurity – pdf removing passwords

Initially I was not planning on writing about how to crack pdf passwords.  After all, that would be irresponsible much in the way giving a knife to a small child is irresponsible – right? Well, simply typing in the following … Continue reading

Posted in Command line, security, Setup From Scratch | Comments Off on Security through obscurity – pdf removing passwords

When all you have is a hammer …

I was speaking with a friend the other day and he was telling about this crazy thing that was being done in his department.  There was a task that needed to be done usually once a day and it was … Continue reading

Posted in Command line, programming | Tagged , | Comments Off on When all you have is a hammer …

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

bash – its not a bug its a feature

It’s not a bug it’s a feature It has been said so many times it goes beyond cliche.  It is really easy to try and explain away odd behaviors as some sort of esoteric feature It took a while before I … Continue reading

Posted in Command line | Comments Off on bash – its not a bug its a feature

command line fun – listing and sorting

Linux is not Unix yet it is very similar.  They are so similar I never really notice the difference, even when writing scripts.  I needed to get a list of sorted files, so I tried the usual commands. ls -lS … Continue reading

Posted in Command line | Tagged , | Comments Off on command line fun – listing and sorting

Oracle and batch reporting

My first real exposure to a real database was Sybase.  It actually is a fairly nice “little” database that you can come to grips with.  I mean little when compared to behemoth that is Oracle.  I don’t want to go … Continue reading

Posted in Command line, programming | 3 Comments

command line fun – more fun with sftp

A few days back we needed to copy some files around in the production environment and the task was given to me.  It was one of those rather simple tasks as in the email was some examples from a colleague … Continue reading

Posted in Command line | Tagged , , | Comments Off on command line fun – more fun with sftp