码迷,mamicode.com
首页 > 系统相关 > 详细

shell command:echo

时间:2016-06-27 00:12:07      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:shell   bash   echo   

1、echo:display en empty line;

2、echo -e:enable interpretation of backslash escapes;

3、echo -n:do not output the trailing newline;

4、echo -e "\033[fgColor;bgColorm字符串\033[0m"

fgColor:30-》37(黑、红、绿、黄、蓝、紫、青、白)

bgColor:40-》47(黑、红、绿、黄、蓝、紫、青、白)


本文出自 “frank_zfh” 博客,请务必保留此出处http://zengfanhong.blog.51cto.com/8894077/1793060

shell command:echo

标签:shell   bash   echo   

原文地址:http://zengfanhong.blog.51cto.com/8894077/1793060

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!