Tag Archives: linux

command line fun – transferring data with sftp

I must admit that I misunderstood the task when I first saw it.  The vendor had changed how they provide the data.  We will no longer be able to retrieve the data using ftp – the data should be picked … Continue reading

Posted in Command line, programming | Tagged , , | Comments Off on command line fun – transferring data with sftp

command line fun – juliane day number to gregorian

In a previous blog, I implemented a routine to convert a Gregorian date into a Juliane day number to allow simple math and comparisons on dates. This was pretty cool but it is less useful if you cannot convert back … Continue reading

Posted in Command line, programming | Tagged , | Comments Off on command line fun – juliane day number to gregorian

command line fun – julian day number

I keep getting into a situation where I need to do some simple date calculations.  This is not a problem using a language like Java or when using a language that lets you add additional modules like Perl.  Unfortunately, some … Continue reading

Posted in Command line, programming | Tagged , | Comments Off on command line fun – julian day number

command line – stupid date tricks

Just because you can do something doesn’t mean that you should do it.  I try and keep to that simple rule but from time to time it is fun to see what crazy things you can do in a simple … Continue reading

Posted in Command line | Tagged , | Comments Off on command line – stupid date tricks

command line junkie – speed test

Graphical operating systems really does make it easier to multi-task, especially for people who are not comfortable on the command line.  It is really easy to switch between your spreadsheet, web browsers and photo viewer programs in this type of … Continue reading

Posted in Command line, Setup From Scratch | Tagged , | Comments Off on command line junkie – speed test

command line fun – math

What is nice about shell scripting on Linux is that the language is just as complete as most of the compiled languages.  What elements makes up a pretty good computer language. variables assignments conditionals statements flow control expressions functions These … Continue reading

Posted in Command line, programming | Tagged , | Comments Off on command line fun – math

command line fun – flow control

Shell scripting is like any other programming language as far as control statements go.  To be honest, all your favorite control statements can be whipped up using either if/then statement or a loop. The good news is that we don’t … Continue reading

Posted in Command line, programming | Tagged , | Comments Off on command line fun – flow control

command line fun – logs and logging

Before writing this blog entry, I never considered the actual similarities between the Linux shell and the dos shell. I shouldn’t have been too surprised as the similarities have less to do with the operating systems than with the general … Continue reading

Posted in Command line | Tagged , , | Comments Off on command line fun – logs and logging

booting Linux from a USB stick

Most of the Linux distributions are downloadable as a ISO image which can be burned to a CD or DVD.  This is pretty convenient, download the distribution and create your own disks. In the beginning floppy disks were used by … Continue reading

Posted in Command line, Setup From Scratch | Tagged , | 1 Comment

command line fun – the basics

I was meeting with a younger friend to fix his virus laden laptop, it turned out to be quite a mess so we decided it would be more efficient to restore it from the recovery partition. I was a bit … Continue reading

Posted in Command line | Tagged , , | Comments Off on command line fun – the basics