- About echo : Display a line of text
- It comes from “coreutils-8.4” package.
Examples:
1. To echo the string on std op device
| $ echo “Hi there” |
2. To skip printing the trailing new line
| $ echo -n “Hi There” |
3. To enable the interpretation of backslash escapes (****)
| $ echo -e “Hia There” |
4. To disable interpretation of backslash escapes
| $ echo -E “Hi! There” |
5. To display the help
| $ echo –help |
6. To display the version
| $ echo –version |