

Among many features, it provides statistical analysis across multiple runs, support for arbitrary shell commands, constant feedback about the benchmark progress and current estimates and more. Hyperfine is a command-line benchmarking tool.

It shows the number of files, total lines within those files and code, comments, and blanks grouped by language. Tokei is a program that displays statistics about your code. gitignore and automatically skips hidden files, directories and binary files. ripgrep is a line-oriented search tool that recursively searches your current directory for a regex pattern. Ripgrep is an extremely fast alternative to grep, the built-in command-line program in Unix/Linux for searching files by pattern. The minimal, blazing-fast, and infinitely customizable prompt for any shell. By default dust sorts the directories by size. (thanks /u/oleid for the suggestion).ĭust is a more intuitive version of du, the built-in command-line program in Unix/Linux for displaying disk usage statistics. In that light, sd is more like tr, but on steroids.

Sed is a programmable text editor, with search and replace being a common use case. sd has simpler syntax for replacing all occurrences and it uses the convenient regex syntax that you already know from JavaScript and Python. Sd is an intuitive find & replace command-line tool, it is an alternative to sed, the built-in command-line program in Unix/Linux for parsing and transforming text (). It provides convenient, human-readable (and colored) output format by default. Procs is a modern replacement for ps, the default command-line program in Unix/Linux for getting information about processes. fd is also extremely fast and it comes with a ton of options like ignoring hidden directories, files and patterns from. To find a specific file by name, you write fd PATTERN instead of find -iname ‘*PATTERN*’. fd provides opinionated defaults for the most common use cases. exa supports icons with the -icons flag.įd is a fast and user-friendly alternative to find, the built-in command-line program in Unix/Linux for walking a file hierarchy. It provides syntax highlighting for many file extensions by default.Įxa is a modern replacement for ls, the default command-line program in Unix/Linux for listing directory contents. batīat is a cat clone with syntax highlighting and Git integration that works on Windows, MacOS and Linux. Here's a list of command-line tools written in Rust that aim to provide modern, often much faster, alternatives to the existing shell commands.

The more familiar you become with the available tools, the more efficient you can be with using your computer. Join over 13k others.Shell is the essential tool for every programmer.
#What is default command line text editor mac how to
Hate the complexity of modern front‑end web development? I send out a short email each weekday on how to build a simpler, more resilient web. The command line trick works for all text files across the whole system, including hidden files, and I never have to think about it again. And it doesn’t work at all for hidden files like. I tried that at first, but its time consuming when you work with lots of different file types. Defaults write / LSHandlers -array-add ''Ī lot of places suggested right clicking the file, selecting “Get Info,” and changing the “Open With” setting for all files of that type.
