4 classic Linux tools that have better modern alternatives

These programs are not available so you will need to install them yourself. And it's best to use them locally, for one-time tasks, rather than depending on them for scripting. However, you might discover a handy feature here, whether it's syntax highlighting, faster processing, or simply a more intuitive interface.

1. bat is cat with syntax highlighting and Git integration

Short for 'concatenate', the cat tool is probably rarely used to join files together, but only to display them. Because it sends input to standard output, cat creates a very basic, general-purpose file viewer. But typically you'll want more features when viewing file content, and bat is a specific tool designed to provide those features.

4 classic Linux tools that have better modern alternatives Picture 1

bat is great for quickly paging through text files, like a set of log files or source code. It provides a title for each file, adds line numbers, and uses colors to highlight the syntax of various file types. The bat command supports use with other popular tools and is highly compatible with cat's option set.

If you're a programmer, you'll appreciate bat's git integration. The tool's output will include comments for lines with local changes in the sidebar. You can even set it up to act as the default viewer for manual pages via man, improving their readability.

2. ripgrep is a recursive grep

grep has many uses as a powerful search engine. By leveraging the power of regular expressions, text searching will be taken to a new level. ripgrep has two main improvements: Recursive search and git integration.

4 classic Linux tools that have better modern alternatives Picture 2

The grep tool will normally search recursively inside subfolders with the -R option, making searching through all files in the project much more convenient. But ripgrep does this by default. ripgrep respects every .gitignore file it finds, so it will not search for files that do not belong to the archive.

ripgrep also tends to run faster than grep and other alternatives. And its default output is probably what you're usually looking for, with standard syntax highlighting and line numbers.

3. lsd is ls with preferred format

The ls command is one of the first commands that Linux users learn because it is one of the most useful. This tool - short for LSDeluxe - upgrades it with beautiful colors and graphical icons.

4 classic Linux tools that have better modern alternatives Picture 3

Like ls's -G option, lsd adds color to each file depending on its type: Directory, executable, symlink, etc. But it also adds icons representing the file format, from HTML files to C source code. It turns the usual terminal file listing into something that looks more like a GUI file browser.

lsd also comes with the --tree option which provides hierarchical output without the need for a separate tool.

4. fd is find friendlier

Of all the standard command line utilities, find is probably the most difficult to use. It's a valuable way to find files, but the syntax and general usage of the command is quite unique. Therefore, it can be difficult to remember how to use find correctly. If so try fd!

4 classic Linux tools that have better modern alternatives Picture 4

Without arguments, fd will give you a color-coded list showing all files and directories below the current directory. You can pass it simple text or a pattern to search for specific file names.

The fd command supports many other options, from case sensitivity to searching for file extensions and executing the command. Like ripgrep, it respects any .gitignore settings it finds, meaning it's a particularly good tool for searching through source code repositories.

5 ★ | 1 Vote

May be interested

  • How to take screenshots on LinuxPhoto of How to take screenshots on Linux
    taking screenshots on linux is not as simple as on windows or macos. the reason is because on linux there are no additional screen capture utilities installed. this tipsmake article will introduce you to 4 ways to take screenshots on linux as you like.
  • How to install and use Google Chrome on UbuntuPhoto of How to install and use Google Chrome on Ubuntu
    google chrome is a cross-platform browser and using google chrome on ubuntu is not unusual. the following instructions will help you install google chrome and use it on the ubuntu platform.
  • Instructions for speeding up Fedora Linux application installersPhoto of Instructions for speeding up Fedora Linux application installers
    fedora is a quite powerful linux distribution, however the biggest limitation of this distribution is its slow application installer. so in the article below tipsmake will guide you how to speed up the fedora linux application installer, readers can refer to and follow.
  • How to fix 'No Space Left on Device' error on LinuxPhoto of How to fix 'No Space Left on Device' error on Linux
    suppose your device's hard drive has a lot of free space left, but linux notifies you that your hard drive doesn't have enough free space anymore. on the screen you will receive the error message no space left on device. so why does this error occur? the article below tipsmake will guide you how to fix no space left on device error on linux.
  • Install and use 7 ZIP on Ubuntu LinuxPhoto of Install and use 7 ZIP on Ubuntu Linux
    if you are a windows user and you have ever sent/received large files online, you probably have not heard of the 7 zip file compression tool. installing 7 zip on windows is quite simple, so what about on ubuntu linux. the article below tipsmake will guide you how to install and use 7 zip on ubuntu linux.
  • How to mount and mount storage devices on Linux TerminalPhoto of How to mount and mount storage devices on Linux Terminal
    in the previous article tipsmake showed you how to use the yes command on linux. the next article below tipsmake will guide you on how to mount and mount storage devices on linux terminal.