会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Sawyer Ford
博客园
首页
新随笔
联系
管理
订阅
2016年12月7日
Shell脚本编程入门
摘要: 最近在学习Shell脚本,两个地方值得注意。 1. Shell中的运算 a=7b=8let c=a+bc=$[a+b]c=$((a+b))c=`expr $a + $b` //``等价于$() 参考:03 Linux shell 变量 数学 运算 2. Shell中的exec和重定向 我写了一个简单
阅读全文
posted @ 2016-12-07 16:35 Sawyer Ford
阅读(237)
评论(0)
推荐(1)
编辑
公告