Printf(command)

From LQWiki
Jump to navigation Jump to search

This page discusses the printf command. If you want the C language function, choose printf(function).

The printf command formats data in much the same way as the C language function, but is available on the command-line.

Provided by

Most (all?) Linux distributions incorporate this from the GNU Coreutils: man page

Related Commands

  • echo - Print command args as text.
  • yes - Output forever.

See also

This article is a stub and needs to be finished. Plunge forward and help it grow!