Language Selection

English French German Italian Portuguese Spanish

A smarter CLI - Innovation by Simplicity

Good command line tools are more important than ever and not just a relict of ancient times in comparison to RIA or GUI applications. Experienced system administrators appreciate their power in sophisticated shell scripts and could probably not manage their environments without them. The question is how can we make command line tools smarter and more powerful than today? This article discusses some ideas and potential implementations always keeping in mind "Do not reinvent the wheel" and "keep it simple".

In the world of free software which made tremendous progress during the last 25 years the CLI (Command Line Interface) never lost it's importance and is still a standard component of well designed applications which expose their APIs and functionality through programming libraries (e.g. in C/C++/C#, Java,...), scripting wrappers (Perl, Python. Ruby, PHP, JavaScript, Tcl, Groovy, Boo, Lua, Lisp, Guile,...), command line utilities, REST/SOAP/XML-RPC/JSON-RPC/D-BUS interfaces and interactive GUI/Web applications.

From a more modern perspective command line tools and the interrelated mini or little languages (e.g. check Eric Raymond's book about The Art of Unix Programming) are special cases of Domain-specific languages (DSL) with the additional focus on interactivity and do not look that old fashioned any more! The syntactic resemblance of command line expressions with functional language constructs e.g. in Haskell or Scala shows further paths of investigation and potential innovations.

The past and future of command line tools




More in Tux Machines

Android projector offers 400 lumens on battery power

AAXA’s Android-based M4 is claimed as “the world’s brightest battery powered projector,” with 400 lumens running on battery power, or 800 lumens plugged-in. AAXA Technologies offers a wide variety of projection systems, including a recent Android-based LED Pico Projector selling for $499. The LE Pico received a “Good” rating earlier this week from PCMag, which lauded the 550-lumen projector for its image quality, but dinged it for its poor video quality. Read more

Calligra Gemini Added to Calligra Suite

About a year ago, the Calligra community added a new application to the suite by the name of Krita Gemini, which combined the functionality of the Krita digital painting application with the touch optimised user interface of the tablet focused Krita Sketch, into a shell with the ability to switch between the two at runtime. The goal was to create a responsive user interface for Krita, and this is now a part of Calligra. In May of this year, Intel approached the team which produced Krita Gemini with the idea of doing the same for other parts of Calligra, by creating an application which would encapsulate the Words and Stage components in the same way as Krita Gemini did for the Krita component. Read more

The Great Paradox: On Windows 10 and Innovation

Talk about the paradoxes of life! I woke up today and saw this article mentioning "3 cool features" of Windows 10. Of course the are cool. But they are neither "new" nor "Windows features" at all. The author and I agree on one point: With Windows 10, Windows is becoming more and more like Linux. Read more Also: Testing upcoming versions: Mageia 5 and Windows 10

SDN in action: Hands-on with Cumulus Linux

The stage is set for SDN (software-defined networking) to change the way we push data through our infrastructures, with the promises of more agile network provisioning and management, as well as more affordable network hardware. But for many, the SDN concept is still amorphous. What does SDN look like in practice? To shed light on this question, I sat down with a few Dell Networking S6000 switches running Cumulus Linux 2.3. There are many approaches to an SDN solution, but one of the most significant is the advent of white-box switches and à la carte switch firmware. This is the essence of the solution offered by Cumulus Networks. Read more