Bash One-Liners
Handy one-liners for finding files, text processing, processes, networking, archives and disk space.
Type a prefix and press Tab. 27 snippets.
| Language | Prefix | What it inserts |
|---|---|---|
| Shell | bbig |
The 20 biggest files |
| Shell | bdu |
Folder sizes |
| Shell | bfind |
Find files by name |
| Shell | bfinddel |
Delete files older than N days |
| Shell | bgrep |
Search text in files |
| Shell | bsed |
Replace text in files |
| Shell | bwc |
Lines of code |
| Shell | btop |
Most frequent words |
| Shell | buniq |
Unique lines, counted |
| Shell | bport |
What uses a port |
| Shell | bkillport |
Kill what uses a port |
| Shell | bps |
Find a process |
| Shell | bip |
Your public IP |
| Shell | bstatus |
Only the HTTP status |
| Shell | bget |
Download a file with resume |
| Shell | btar |
Create a tar.gz |
| Shell | buntar |
Extract a tar.gz |
| Shell | bzip |
Zip a folder |
| Shell | bsshkey |
Make an ed25519 key |
| Shell | bpass |
A random password |
| Shell | bhash |
SHA-256 of a file |
| Shell | bwatch |
Repeat a command |
| Shell | bpar |
Run jobs in parallel |
| Shell | bren |
Rename file extensions |
| Shell | bgitbig |
Biggest files in git history |
| Shell | bbackup |
A dated copy |
| Shell | bjq |
Pretty print JSON |
This extension runs no code and asks for no permissions.