Bash offers two types of commands that can be used to print your output to the terminal. One is the echo
command which is mostly used for this purpose. The second is the printf
command. In this article, we will learn the basic usage of the printf command with examples in Linux.
Bash Scripting – Printf Command Explained With Examples
By
Senthil Kumar
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis