显示系统变量和转义字符

5年以前  |  阅读数:571 次  |  编程语言:Shell 
#!/bin/bash
#display user information from system

echo "User info fro userId:$USER"
echo UID:$UID
echo HOME:$HOME
#换行
echo -e '\n'      
echo 'The cost of the item is \$15'

Copyright© 2013-2020

All Rights Reserved 京ICP备2023019179号-8