TechBriefly
  • Tech
  • Business
  • Crypto
  • Science
  • Geek
  • How to
  • About
    • About TechBriefly
    • Terms and Conditions
    • Privacy Policy
    • Contact Us
    • Languages
      • 中文 (Chinese)
      • Dansk
      • Deutsch
      • Español
      • English
      • Français
      • Nederlands
      • Italiano
      • 日本语 (Japanese)
      • 한국인 (Korean)
      • Norsk
      • Polski
      • Português
      • Pусский (Russian)
      • Suomalainen
      • Svenska
No Result
View All Result
TechBriefly
Home How to
9 modern alternatives to classic Linux commands

9 modern alternatives to classic Linux commands

Barış SelmanbyBarış Selman
13 January 2022
in How to
Reading Time: 5 mins read
Share on FacebookShare on Twitter

We gathered 9 modern alternatives to classic Linux commands for you. There are some terminal utilities that virtually every Linux computer includes in its default installation (and in most cases even in its minimal installation). They are essential for the operation of other tools and have been with Linux since its very birth since all of them were born years before for Unix or compatible systems (such as BSD).

Alternatives to classic Linux commands

Over the years, alternatives have been emerging that improve and/or simplify their more veteran references, and many of them have already earned a place in the hearts of Linux users. Let’s take a look at some of the most outstanding ones:

Cat vs Bat

Cat’ (short for ‘concatenate’) is a command that allows us to create or merge files, or ‘print’ them to standard output (displaying them in the terminal or redirecting them to another file).

9 modern alternatives to classic Linux commands
9 modern alternatives to classic Linux commands

On the other hand, ‘bat’ (which is defined as ‘cat with wings’) supplements cat in all its functions, adding other useful ones such as automatic syntax highlighting for a wide number of programming and markup languages, integration with Git (highlighting modifications), automatic pagination or the option to display non-printable characters.

Cd vs Zoxide (Z)

Possibly the most used command when working with the terminal, ‘cd’ (short for “change directory”) does exactly that, allowing us to change directory (folder) to execute the relevant commands in each one.

9 modern alternatives to classic Linux commands
9 modern alternatives to classic Linux commands

But what if ‘cd’ kept track of the directories we use most often and used a sorting algorithm to navigate to the best match, saving us from having to type complex paths over and over again? Then the program would be called Zoxide and would use ‘z’ as the command.

Diff vs Diff-so-fancy

Diff’ (short for “difference”) allows us to visualize the differences between two files or two directories. It is one of the most used commands by developers, often in combination with Git, to know which lines of code have changed between two versions of the same program.

9 modern alternatives to classic Linux commands
9 modern alternatives to classic Linux commands

However, a common criticism of ‘diff’ is that it seems to be more machine-readable than human-readable, so to better recognize changes at a glance, they have released ‘diff-so-fancy‘, which dispenses with the use of symbols such as ‘+’ and ‘-‘, and relies instead on improved text highlighting.

Du vs Ncdu

‘Du’ (abbreviation of ‘disk usage’) is a command that allows showing how much disk space directories and files occupy, allowing according to the arguments that we are passing to the program to know which are the ones that occupy the most space. So, if we wanted to know the 5 ‘heaviest’ directories and show them sorted on-screen with human-readable units (MB, GB, etc) we should write something like the following:

  • du -hs * | sort -nr | head
9 modern alternatives to classic Linux commands
9 modern alternatives to classic Linux commands

However, ‘ncdu‘ is an alternative that not only shows us directly the same information as the previous complex command but accompanies it with bar graphs… and allows us to navigate between directories to know, in turn, the ‘weight’ of each of the folders they contain. Or delete them:

Find vs Fd

Find’ means, literally, “find” in English; and that is exactly its task, to search for files on the hard disk following the criteria we provide (the name of the file or part of it, the user’s name, the file size, etc).

9 modern alternatives to classic Linux commands
9 modern alternatives to classic Linux commands

Fd‘ does not include as many options and modifiers as ‘find’, but it is a simpler alternative to it in most cases. So, for example, to search for any MP3 file in the current directory you would previously write

  • find . -iname “*.mp3”
  • …now a simple ‘fd .mp3’ would suffice.

Ls (and Tree) vs Exa

‘Ls’ is probably close to ‘cd’ in terms of frequency of use by Linux users. Its function is quite simple: list the files and folders inside a directory, the equivalent of opening it in the file explorer. Tree’ would be the equivalent of the browser’s navigation panel, showing all the subdirectories in tree format.

9 modern alternatives to classic Linux commands
9 modern alternatives to classic Linux commands

Well, ‘Exa‘ offers the same functions as both, but makes use of a colored output that allows to differentiate at a glance folder from files, as well as to identify permissions and owner users, and shows extra information if we visualize Git repositories, besides handling dates in standard format (and not in Anglo-Saxon).

  • To replace the functions of ‘tree’, just use
  • $ exa –tree
SEE ALSO
189 Linux commands that you must try in the terminal

Man vs TLDR

Nowadays it is common to search Google for information on how to use any program with which we are not familiar, but at the time, in the early days of Unix, there was no Google, nor Internet, so the documentation of each program was installed along with it and was (and is) searchable using the ‘man’ command (from ‘manual’).

9 modern alternatives to classic Linux commands
9 modern alternatives to classic Linux commands

The problem with ‘man’ is that the first-time user who resorts to it sees how it gives him a long list with all the detailed options of the program consulted, and that is not always useful. In many cases, more than a manual, we need a manual, and that is what ‘tldr‘ offers us: summarized versions of the manuals of each command, focused on showing us practical and simple examples.

This website provides a sample of the result that ‘tldr’ would provide for each query.

Sed vs Sd

Sed’ is the abbreviation of ‘Stream Editor’, and it is a text processor in the most traditional sense of the term: the arguments we pass to the command will allow us to transform the content of one or several text files, allowing us, for example, to cut text or replace it according to certain criteria.

Sd’ is capable of doing most of the things that ‘Sed’ does, but makes them much simpler. In part, thanks to the fact that the syntax for regular expressions that it uses is the same that we can find in JavaScript, much simpler than that of ‘sed’ and ‘awk’. So, for example, two commands like:

  • $ sed s/before/after/g
  • $ sed ‘:a;N;$!ba;s/before/,/g’.

They are transformed into:

  • $ sd before after
  • $ sd: sd ‘\n’ ‘,’

Top vs Htop

9 modern alternatives to classic Linux commands
9 modern alternatives to classic Linux commands

‘Top’ is a command that provides a set of statistics (updated every few seconds) about the usage of our system: RAM and SWAP memory, CPU usage, and above all about the most active processes when using those resources. Htop’ is very similar, only better: colored visualization, more readable ‘layout’ of the data, use of graphs, etc.

Tags: alternativescommandstechnologyTop
ShareTweet
Barış Selman

Barış Selman

A technology and gaming enthusiast by day, Barış is a passionate composer and black/death metal guitarist by night. He keeps his finger on the pulse of the intersection of art and technology whenever he can from his tours worldwide.

Related Posts

How to install mods and custom content in The Sims 2

How to install mods and custom content in The Sims 2

26 December 2025
Running Python files and fixing path errors on Windows

Running Python files and fixing path errors on Windows

26 December 2025
How to boot your PC into Command Prompt for troubleshooting

How to boot your PC into Command Prompt for troubleshooting

26 December 2025
How to delete a virus using Command Prompt

How to delete a virus using Command Prompt

26 December 2025
Please login to join discussion

LATEST

How to install mods and custom content in The Sims 2

Running Python files and fixing path errors on Windows

How to boot your PC into Command Prompt for troubleshooting

How to delete a virus using Command Prompt

How to connect a PS4 controller to Steam via USB or Bluetooth

How to connect your phone to Wi-Fi and fix connection issues

Apple begins iPhone 18 series production testing in January

EA investigates AI claims in Battlefield 6 cosmetics

Amazon Alexa+ will book your hotels and salons starting in 2026

OpenAI launches Skills in Codex

TechBriefly

© 2021 TechBriefly is a Linkmedya brand.

  • Tech
  • Business
  • Science
  • Geek
  • How to
  • About
  • Privacy
  • Terms
  • Contact
  • | Network Sites |
  • Digital Report
  • LeaderGamer

Follow Us

No Result
View All Result
  • Tech
  • Business
  • Crypto
  • Science
  • Geek
  • How to
  • About
    • About TechBriefly
    • Terms and Conditions
    • Privacy Policy
    • Contact Us
    • Languages
      • 中文 (Chinese)
      • Dansk
      • Deutsch
      • Español
      • English
      • Français
      • Nederlands
      • Italiano
      • 日本语 (Japanese)
      • 한국인 (Korean)
      • Norsk
      • Polski
      • Português
      • Pусский (Russian)
      • Suomalainen
      • Svenska