常用命令
echo
原来的意思是回音,现实意义是回显,现实输出
[10:18:50 root@C8[ ~]#echo Hello World!
Hello World!
[10:33:12 root@C8[ ~]#echo $PATH /*显示变量的实际内容而不是字符串*/
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/root/bin
- -n 不换行
- -e 加启用特殊功能 比如 -e "a"
声音提醒
[10:18:50 root@C8[ ~]#echo Hello World!
Hello World!
[10:33:12 root@C8[ ~]#echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/root/bin
编译安装折腾一个多小时或更多时间,用声音提示更方便。