brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

tips

~/tips/cli
All tips

46 tips CLI

One command, setting or habit at a time about CLI: what it does, the line to copy and a caveat or two.

Scripting 9

Windows 6

Files and media 4

Linux and shell 4

Slash commands 3

WP-CLI 3

Admin and checks 2

Identify and inspect 2

Prompting 2

Settings and permissions 2

Apps and containers 1

Downloads 1

Inspect and convert 1

  • Prints selected properties of one stream, such as the video width and height, in plain machine-readable form.

    ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=p=0 in.mp4

Proxying 1

Quick checks 1

SQL shells 1

Setup and devices 1

Speed and limits 1

Text processing 1

  • Limit ripgrep to some file types or skip noisy files with a glob.

    rg 'apiKey' -g '!*.min.js' -g '!package-lock.json'