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 use ss command on LinuxHow to use ss command on Linux
    the ss command is a new alternative to the classic netstat. you can use it on linux to get data about network connections. here's how to work with this helpful tool.
  • The most attractive free games on LinuxThe most attractive free games on Linux
    although linux is not considered a gaming platform, there are many attractive free games on it for your entertainment. this is because open-source, non-paying developers have brought new and classic games to linux. the article will introduce you to some attractive free games on linux.
  • Is it possible to run .exe files on Linux?Is it possible to run .exe files on Linux?
    you don't need to trade the appeal of windows software for the stability, security, ease of customization (and even great classic appearance) of linux. in this article, you will be shown how to run windows exe (possibly executable) files and software using the linux operating system. these methods can be applied to any linux distribution, including ubuntu, kali linux, centos and many others.
  • Cheap Backup Tips to Replace When You Run Out of iCloud StorageCheap Backup Tips to Replace When You Run Out of iCloud Storage
    apple's icloud sounds like a good idea on paper, but when you really look at it, that 5gb of free storage doesn't amount to much.
  • Instructions for taking screenshots of Linux computersInstructions for taking screenshots of Linux computers
    linux is a powerful and diverse operating system, so the screen capture tools for this platform are also powerful and varied. the variety of these screeenshot tools includes simple and easy-to-use command line tools that provide scripting and process automation capabilities.
  • Microsoft brings Sysmon tools to LinuxMicrosoft brings Sysmon tools to Linux
    microsoft has just released the linux version of the very popular sysmon system monitoring tool on windows. sysmon will allow linux admins to monitor devices to detect dangerous and unusual activities.
  • Over 200 genres of classic games emulated on PCOver 200 genres of classic games emulated on PC
    these are pretty good games from ancient times with popular games such as super mario, tank, contra, rocman ... probably not many people know these classic games but that is childhood with so many memories sad joy of 8x generation. let's hold the ticket back to childhood ...
  • How to run Windows applications on Linux with WineHow to run Windows applications on Linux with Wine
    there are a number of applications from windows that are needed but there are no alternatives on linux. fortunately, there is a software project that allows you to run windows applications on linux. this software is called wine. it creates a compatibility layer for windows programs to interact with the linux operating system.
  • 9 best Kodi alternatives9 best Kodi alternatives
    a single application can hardly meet the needs of everyone. therefore, tipsmake.com has found the best kodi alternatives that you can download and use immediately.
  • 8 Best Alternatives to Canva8 Best Alternatives to Canva
    if the canva templates don't suit your aesthetic, or if you're looking to expand your graphic design toolkit, here's a list of some of the best canva alternatives.