Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Misc Power Tools

The tools in this section don’t fit neatly into any other category — but you’ll reach for them constantly. Some find things (which, whereis, type), some explain things (man, info), some print things (echo, printf), and some just make your life easier (watch, date, cal).

Together they form the everyday toolkit that sits between “I know the file operations” and “I’m comfortable in the shell.” Master these, and the terminal starts to feel like home.

What’s Inside

PageOne-liner
watchRe-run a command periodically and watch the output
timeMeasure how long a command takes
whichShow which executable the shell would run
whereisLocate a program’s binary, source, and man page
typeTell you what a command name actually is
manRead the manual page for any command
infoThe GNU hyperlinked alternative to man
echoPrint a line of text
printfFormat and print text precisely
yesPrint a repeated string forever
datePrint or set the system date and time
calPrint a calendar

How They Fit Together

A typical discovery flow looks like this:

  1. You hear about a command — check it exists with which or type.
  2. You want to know what it does — read the docs with man or info.
  3. You want to see it work — run it inside watch if it repeats, or time it with time.
  4. You want to script it — echo and printf are your printing workhorses.

Next Up

Start with watch — it’s the most immediately useful, and it pairs beautifully with top, free, and everything else that changes over time.