echo
Use echo command to display text or value of variable.
echo [options] [string, variables...]
Displays text or variables value on screen.
Options
-n Do not output the trailing new line.
-e Enable interpretation of the following backslash escaped characters in the strings:
/a alert (bell)
/b backspace
/c suppress trailing new line
/n new line
/r carriage return
/t horizontal tab
// backslash
本文介绍了如何使用echo命令来显示文本或变量的值。通过不同的选项可以实现不换行输出、解释转义字符等功能,例如使用-n选项可以避免输出末尾的新行。

被折叠的 条评论
为什么被折叠?



