shell/基本脚本/显示系统变量和转义字符.sh

11 lines
179 B
Bash
Raw Normal View History

2016-05-13 21:42:54 +08:00
#!/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'