Tag Archives: linux

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

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

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

command line fun – testing for existence

I remember quite some time ago when I was developing a an application when the personal computer was actually fairly slow.  Of course I happened to pick a technology that worked just fine on a newer computer but it actually … Continue reading

Posted in Command line, programming | Tagged , | Comments Off on command line fun – testing for existence