$ echo "apple" ←Displays "apple" on the screen apple $ echo "apple" > file ←Redirects the display to a file $ echo "apple II" >> file ←Redirects the display to a file $ cat file ←Verify apple apple II |
echo is commonly used in scripting languages and for user interactions.
For further explanation of the echo command, please refer to the provided link.