Trends in the modern command line
Command Line – Modernization
© Lead Image © elcabron, 123RF.com
Command-line applications have modernized since Bruce started writing about the command line 16 years ago. In his farewell column, he covers some of the recent innovations.
Sixteen years ago, when I began writing about command-line applications, the basics seemed mostly fixed. Basic commands such as cd, grep, and ls, as well as the configuration files in /etc, had changed little since the heyday of Unix, and many man pages still bore the original author's name. Little did I guess that the command line was about to undergo a series of modernizations. Some of the changes were due to new technologies and the obsolescence of others. Others were designed to make the command line more accessible to the growing number of desktop-oriented users. Today, while the time-honored commands remain the defaults, they are increasingly being challenged by innovative alternatives. What follows are some typical examples of the recent innovations.
Edited and Revised Commands
At the most basic level, recent years have seen a restructuring of basic commands. One of the most noticeable examples is the rethinking of apt-get, the well-known package manager for Debian-based distributions. The rethinking began with Ubuntu's Advanced Packaging Tool (APT). Not a complete replacement, APT is a stripped down version that covers the most common use cases and incorporates a few apt-get utilities under more accurate names, making users more aware of them. For instance, apt-cache is divided into search and show, while dpkg-query becomes list. In addition, apt-get's countdown for operations is replaced with a progress bar, which is more common in modern computing. However, the output of apt-get remains unchanged, and apt-get is still needed for some more advanced functions.
Nala (Figure 1) takes APT's revisions even further. Like APT, Nala simplifies basic commands and uses a progress bar. It also incorporates the netapt-apt utility as fetch to find the fastest mirrors, with the option to prioritize them by Debian-derivative and download packages in parallel. Also, like Fedora's DNF, Nala includes a history that can be convenient when troubleshooting. However, the most noticeable feature is Nala's rewriting of output. Not only does Nala color feedback and arrange it in boxes, but it rewrites output to condense it and make it more readable. For instance, where apt-get might show "After this operation, 12.4MB of additional disk space will be used," Nala would simply show "Disk space required: 12.49MB." Although the difference is small, Nala's version is shorter and easier to comprehend.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
KDE Unleashes Plasma 6.5
The Plasma 6.5 desktop environment is now available with new features, improvements, and the usual bug fixes.
-
Xubuntu Site Possibly Hacked
It appears that the Xubuntu site was hacked and briefly served up a malicious ZIP file from its download page.
-
LMDE 7 Now Available
Linux Mint Debian Edition, version 7, has been officially released and is based on upstream Debian.
-
Linux Kernel 6.16 Reaches EOL
Linux kernel 6.16 has reached its end of life, which means you'll need to upgrade to the next stable release, Linux kernel 6.17.
-
Amazon Ditches Android for a Linux-Based OS
Amazon has migrated from Android to the Linux-based Vega OS for its Fire TV.
-
Cairo Dock 3.6 Now Available for More Compositors
If you're a fan of third-party desktop docks, then the latest release of Cairo Dock with Wayland support is for you.
-
System76 Unleashes Pop!_OS 24.04 Beta
System76's first beta of Pop!_OS 24.04 is an impressive feat.
-
Linux Kernel 6.17 is Available
Linus Torvalds has announced that the latest kernel has been released with plenty of core improvements and even more hardware support.
-
Kali Linux 2025.3 Released with New Hacking Tools
If you're a Kali Linux fan, you'll be glad to know that the third release of this famous pen-testing distribution is now available with updates for key components.
-
Zorin OS 18 Beta Available for Testing
The latest release from the team behind Zorin OS is ready for public testing, and it includes plenty of improvements to make it more powerful, user-friendly, and productive.

