Use exa rather than ls! Introducing modern Linux commands

Introduction

Recently, I've come to see a lot of repositories on GitHub that implement Rust Linux commands. When I tried using it, it was convenient because there were many commands that displayed colorful and very fashionable, so I would like to introduce the commands I found at once.

exa

First, I would like to introduce exa, which is an alternative to the ls command.

https://github.com/ogham/exa

As you can see from the image above, it's colorful and easy to see. It also supports the tree display of directories as shown on the right. You can also add the --icons option to display icons according to the file type.

bat

Next is the introduction of bat, which is an alternative to the cat command.

https://github.com/sharkdp/bat

The source code is colored and displayed according to the file extension. It also has a pager function like less, and if you pass a file with a long number of lines, it will automatically open in pager mode.

hexyl

hexyl is an alternative command to the binary dump command ʻod. It is developed by the same person as the developer of bat`.

https://github.com/sharkdp/hexyl

Dumping binaries may not be very common, but if you are developing low layers using C ++, you may occasionally want to dump inside binaries.

fd

Next is fd, which is an alternative to the find command. This is also developed by the same person as bat.

https://github.com/sharkdp/fd

fd is a search command with a high search speed. It's much faster than find. The directory specified by .gitignore when searching has a function that automatically ignores it (you can also prevent it from being ignored).

procs

procs is an alternative command to ps.

https://github.com/dalance/procs

If you add --tree, the relationship between the parent process and the child process will be displayed as a tree.

ripgrep

ripgrep is an alternative command to grep.

https://github.com/BurntSushi/ripgrep

The command name is rg. As with fd, the speed is high. The Visual Studio Code quick open (Ctrl + P) also uses ripgrep.

Summary

If the CLI is colorful, the visibility will improve, so I think it will be easier to develop. Please try.

Recommended Posts

Use exa rather than ls! Introducing modern Linux commands
Use Linux commands on Android devices
Linux commands
linux commands
Linux commands
Linux commands