3 Linux Tips to Display Message in Terminal
3 Linux Tips to Display Message in Terminal
In this blog, you will learn 3 linux tips to display the message in linux terminal. This is done by using three commands. They are
- using echo command
- using printf command
- using read command with option -p
1. using echo command
- This popular command is mainly used to show the message on terminal.
- This will take message as an input and display the input on terminal.
2. using printf command
- This command is optional for echo command
- This will take message as an input and display the input on terminal.
3. using read command
- This optional command is used to print the message with help of special option -p. p stands for printing the message
- This will take message as an input and display the input on terminal.
Comments
Post a Comment