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.