All tags
headless
Narrow down
Shell3
- Tip
sudo rpi-imager --cli --sha256 <hash> raspios.img.xz /dev/sdbrpi-imager --cli --sha256 checks the image hash before it writes the cardWrites a Raspberry Pi image from the terminal, and refuses it if the SHA-256 hash does not match.3 Dec 2026 - Tip
sudo grub-reboot MENU_ENTRYgrub-reboot picks a GRUB entry for the next boot onlySets which GRUB menu entry boots once, and the normal default returns after that.3 Dec 2026 - Tip
claude -p --max-turns 3 --max-budget-usd 2 "Fix the failing test in auth.py" --allowedTools "Read,Edit,Bash"Cap a headless Claude run with --max-turns and --max-budget-usdStops a scripted Claude Code run after a set number of turns or amount of spend.15 Jul 2026
AI3
- Tip
claude -p "Explain what this repository does" \Stream claude -p output as JSON and print only the text as Claude writes itShows the answer of a headless Claude Code run live instead of waiting for the end.30 Nov 2026 - Tip
claude -p "Check the docs folder for broken internal links and list them" \Run claude -p in dontAsk mode so a CI job never waits on a Claude promptDenies every action that would need approval and lets only your allowed tools run.30 Nov 2026 - Tip
claude -p "Extract the main function names from auth.py" \–json-schema makes claude -p return JSON you can trustMakes a scripted Claude Code run return validated JSON instead of free text.7 Jul 2026
Other tips2
- Tip
xvfb-run -a your-program --some-flagxvfb-run -a runs a graphical program on a server with no screenGive a graphical program a virtual display on a headless machine.3 Dec 2026 - Tip
enable_uart=1Enable_uart=1 gives a headless Raspberry Pi a serial consoleTurns on the serial console on the GPIO pins, so you can see boot messages without a monitor or network.3 Dec 2026
Git2
- Tip
claude -p "Now write the three biggest issues as GitHub issue text" --resume "$session_id"Save the session_id from claude -p and resume that exact Claude conversationLets a script continue one specific Claude Code conversation, even when others ran in between.30 Nov 2026 - Tip
claude -p "Look at my staged changes and create an appropriate commit" \Scope --allowedTools to single git commands, with a space before the starLets a scripted Claude Code run use only the git commands you list, without prompting.24 Jul 2026
Network2
- Tip
google-chrome --headless --screenshot --window-size=1280,1696 https://example.comChrome --headless --screenshot takes a screenshot of a page from the command lineSaves a PNG of a web page from the terminal, with no browser window.28 Nov 2026 - Tip
google-chrome --headless --dump-dom https://example.comChrome --headless --dump-dom prints the HTML after the JavaScript has runPrints the page's HTML as it looks after JavaScript has run.28 Nov 2026
Python1
Nothing matches.