Writing about the craft of software

Notes on Unix, Python, databases, design, and building useful systems.

Why is Unix Beautiful 2

Here are some more examples of beautiful things you can do in Unix. 1.) Execute an SQL script against a database called db3, translate the output into CSV and report how long it took to execute. $ time cat usage.sql | db3 |tr '\t' ',' > usage.csv real 0m0.605s…

Command Line, Unix

Read article →

Why Unix is Beautiful

Unix with the Bash shell is beautiful because you can string a list of simple commands together to instruct computers to do complex things. Folks sometimes refer to this as " sed , grep , awk" . Those are Unix commands with cryptic names - they sound like…

Command Line, Unix

Read article →

What is Unix?

The Unix Operating System, born 45 years ago, and the Bash Shell, born 25 years ago - are the two most powerful programming tools ever created. Unix was the brain child of Ken Thompson and Dennis Ritchie while working in the mid-1960s. Today most of us use a…

Command Line, Unix

Read article →

Elegance in Programming

Ask yourself, is it Elegant? Is it a thing of beauty? If this is some important piece of code that others will be using then it should be written well. I read once in an old programming book, "Born to Code in C", that first you need to make it work, then make…

Design, Elegance

Read article →