Simplifying and improving standard commands
fd
fd
(packaged as fd-find
in some distributions) is a simplification of the find
command. fd
(Figure 4) has less than half the options of find
and does not have obscure distinctions like global and positional options that can confuse occasional users.
What fd
does have is a selection of the most commonly used options. It supports regular expressions – which a search command must do to be any use at all – as well as options to include hidden files, to choose patterns to ignore, to perform case-sensitive searches, or to filter by file types. Probably, it would take a sophisticated user to find fd
lacking.
most
The Bash shell is rich in pagers for viewing files. Although each has more functionality than its predecessors, all remain available in major distributions.
The newest pager is most
(Figure 5). Its name continues a running joke; less
is more than the more
command, while most
is more than less
.
The advantages of most
begin with multiple display options. It continues with the ability to display multiple files and to navigate between them using keyboard shortcuts. If you are frequently opening man pages, you might also want to set most
as the default pages with commands, options, and other standard items color-coded.
apt
apt-get
is the front end for the dpkg
command in Debian and its derivatives. Over two decades or so, apt-get
has grown both in complexity and in the number of related utilities – most of which include apt
in their names. The result is an immensely powerful yet immensely confusing collection of tools.
First developed by Ubuntu, apt
(Figure 6) is a replacement for the most common uses of apt-get
and its utilities. Not only does it drop the last four characters of the command, but the same basic command is used for functions like search
that were originally in a separate command. At the same time, the same functions found in apt-get
, such as install
and update
, are also used, making apt
easy to learn for experienced users. As an added bonus, apt
includes a progress bar that is easier to read at a glance or from a distance than apt-get
's percentage completion counter.
apt
is not nearly as comprehensive as apt-get
and its utilities, so for advanced users it is not a replacement. However, for maybe eighty percent of standard package management, it makes maintenance simpler and more convenient.
« Previous 1 2 3 Next »
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
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.