摘要: 在用户下.bash_profile中添加 export PS1=["$USER"@"$HOSTNAME"] 阅读全文
posted @ 2016-06-15 16:31 W&L 阅读(631) 评论(0) 推荐(0)
摘要: 方法一: [chengmo@centos5 ~]$ c=$(echo "5.01-4*2.0"|bc)[chengmo@centos5 ~]$ echo $c-2.99 方法二: [chengmo@centos5 ~]$ c=$(awk 'BEGIN{print 7.01*5-4.01 }')[ch 阅读全文
posted @ 2016-06-15 12:18 W&L 阅读(158) 评论(0) 推荐(0)