Do you work with the CLI a lot? It doesn't matter if Windows, macOS or Linux, in this video you'll learn 7 tools that I frequently use.
exa, clink, rg & rga, plocate, bat, jq, f%$!
What’s in the Video?
The video gives a short overview of how to use the tools mentioned above work. In order of appearance:
exa (https://github.com/ogham/exa) is a modern replacement for the venerable file-listing command-line program ls that ships with Unix and Linux operating systems, giving it more features and better defaults. It uses colours to distinguish file types and metadata. It knows about symlinks, extended attributes, and Git. And it’s small, fast, and just one single binary.
Clink (https://github.com/chrisant996/clink) combines the native Windows shell cmd.exe with the powerful command line editing features of the GNU Readline library, which provides rich completion, history, and line-editing capabilities. Readline is best known for its use in the Unix shell Bash, the standard shell for Mac OS X and many Linux distributions.
ripgrep (https://github.com/BurntSushi/ripgrep) is a line-oriented search tool that recursively searches the current directory for a regex pattern. By default, ripgrep will respect gitignore rules and automatically skip hidden files/directories and binary files. ripgrep has first class support on Windows, macOS and Linux, with binary downloads available for every release. ripgrep is similar to other popular search tools like The Silver Searcher, ack and grep.
plocate (https://plocate.sesse.net/) plocate is a locate(1) based on posting lists, completely replacing mlocate with a much faster (and smaller) index. It is suitable as a default locate on your system.
bat (https://github.com/sharkdp/bat) is a cat clone with syntax highlighting and Git integration.
jq (https://github.com/stedolan/jq) is a lightweight and flexible command-line JSON processor.
thefuck (https://github.com/nvbn/thefuck) is a magnificent app, inspired by a @liamosaur tweet, that corrects errors in previous console commands.
Top comments (2)
Regarding exa:
ls
does all of thos things, though? It doesn't integrate with git, though that's what thegit status
command does. I don't want to suggest people shouldn't use whatever programs they find most comfortable, butexa
doesn't sound like it offers anything at all.For Rust enthusiasts, I'm working on a port of thefuck to Rust. Check it out: github.com/luizvbo/oh-crab