Shell echo命令
#显示普通字符
echo "Hello World"
echo Hello World
#显示转义字符
echo "\"Hello World\""
#显示变量 运行该文件后会等待输入
read name
echo "$name It is a test"
#显示换行
echo -e "ok! \n"
echo It is a test
#显示不换行
echo -e "OK! \c"
echo It is a test
#显示结果定向至文件
echo "It is a test" > myfile
#执行命令 这里使用的是反引号 `, 而不是单引号 '。
echo `date`