Linux常用命令-echo
命令
echo
描述
Write arguments to the standard output
Display the ARGs on the standard output followed by a newline
显示输入的内容
用法
1 | echo [-neE] [arg ...] |
选项
1 | Options: |
注意
注意shell中的单引号''
表示强引用不转义内容,而双引号""
会转义内容
示例
1 | 1.单引号和双引号 |
echo
Write arguments to the standard output
Display the ARGs on the standard output followed by a newline
显示输入的内容
1 | echo [-neE] [arg ...] |
1 | Options: |
注意shell中的单引号''
表示强引用不转义内容,而双引号""
会转义内容
1 | 1.单引号和双引号 |