Bash printf Command

Posted by linuxize on Jun 1, 2020 6:20 AM EDT
Linuxize.com
Mail this story
Print this story

Typically, when writing bash scripts, we use echo to print to the standard output. echo is a simple command but is limited in its capabilities. To have more control over the formatting of the output, use the printf command. The printf command formats and prints its arguments, similar to the C printf() function.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: GNU, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.