printf do?format and print data using a printf-style template.
▸ Explain your own printf command →$ printf '%s\n' hello
$ printf "%-10s %d\n" name 42
| -v | store the output in a shell variable instead of printing it |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.