Changelog Master Feed

Efficient Linux at the CLI (Changelog Interviews #547)

Jul 6, 2023
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Learning Efficiency from a Dev Anecdote

  • Daniel Barrett learned efficient bash techniques by watching colleagues waste time restarting editors repeatedly.
  • This inspired his deep dive into command line efficiency and ultimately writing his book.
ADVICE

Command Substitution for Automation

  • Use command substitution to inject output of one command into another command’s text.
  • This avoids manual copying and helps automate complex tasks like batch editing files.
ADVICE

Process Substitution with Virtual Files

  • Use process substitution to let commands that expect files operate on command outputs without creating temporary files.
  • Surround commands with <( and ) to create virtual files for seamless diffing or moving.
Get the Snipd Podcast app to discover more snips from this episode
Get the app