首页 > 代码库 > Linux Shell 1 - Print from terminal

Linux Shell 1 - Print from terminal

 

Two ways to print info from terminal - echo & printf 

- Echo 

a. Exclamation mark is supported in single quotation mark 

b. Exclamation mark is NOT supported with double quation marks - use "\" to escape

- printf 

技术分享

- Set Colors for fonts and background 

技术分享

技术分享

 

Linux Shell 1 - Print from terminal