#在标准输出上显示一个字符串echohello#不输出行尾的换行符echo-nhello#解释反斜杠转义的字符echo-e'hello\nworld'echo-e'hostname\nhello'>1.sh#查看文件内容cat1.shhostnamehello

#在标准输出上显示一个字符串echohello#不输出行尾的换行符echo-nhello#解释反斜杠转义的字符echo-e'hello\nworld'echo-e'hostname\nhello'>1.sh#查看文件内容cat1.shhostnamehello