Chinaunix首页 | 论坛 | 博客
  • 博客访问: 10411544
  • 博文数量: 2905
  • 博客积分: 20098
  • 博客等级: 上将
  • 技术积分: 36298
  • 用 户 组: 普通用户
  • 注册时间: 2009-03-23 05:00
文章存档

2012年(1)

2011年(3)

2009年(2901)

博文列表
标题:
标题 阅读 评论 转发 发布日期
squid日志的分割 2437 0 0 2009-03-23
Lazy Linux: 10 essential tricks for admins 1412 0 0 2009-03-23
linux 系统tty、pty和pts 的概念及区别 1877 0 0 2009-03-23
Linux 启动详解 1155 0 0 2009-03-23
linux下面nc的使用 1457 0 0 2009-03-23
how to install curl 2466 0 0 2009-03-23
linux QOS流量管理实例一 1211 0 0 2009-03-23
linux中的七个运行级别 915 0 0 2009-03-23
linux QOS流量管理实例二 1435 0 0 2009-03-23
Redhat Linux 软件安装 1641 0 0 2009-03-23
linux QOS流量管理实例三 1864 0 0 2009-03-23
linux 简单配置汇总 上 1271 0 0 2009-03-23
When Linux Runs Out of Memory 1370 0 0 2009-03-23
find 精解 1165 0 0 2009-03-23
linux 上 java 的安装 1421 0 0 2009-03-23
Linux Desktop Entry 文件深入解析 1246 0 0 2009-03-23
[RHEL5企业级Linux服务攻略]--第5季 Sendmail服务全攻略之高级配置 918 0 0 2009-03-23
linux 上 Tomcat 安装 1217 0 0 2009-03-23
LAMP 806 0 0 2009-03-23
Redhat linux 5 Server相关介绍 1092 0 0 2009-03-23
给主人留下些什么吧!~~

ehlopxp2014-01-10 10:34

回复  |  举报

ehlopxp2014-01-10 10:34

回复  |  举报

hmrit2013-10-28 10:17

你好  请问一下  
为什么我的linux下一直安装dns不能成功   能否帮忙解决一下

回复  |  举报

2011-11-28 13:03

朋友你好!
我刚开始搞linux,碰到了很多问题,想问你下,希望能帮我解答下。
下面是我的一段shell 程序
#!/bin/sh

while [ 0 ]
do
read score
if [ $score -lt 60 ];then
echo " you must work hard!"
elif [ $score -lt 80 ]
echo " just so so,you should do better"
elif [ $score -le 100 ]
echo ”done well ,keep it "
fi
echo " if you want to contiune press y,else press any key to exit"
read C
if [ $c =y ];then
contiune
else
echo "thanks for coming"
fi
done
运行
$ sh -x test.sh
有个错误提示在第二个if出(if 【 $C =y ]) unary operator expected
是什么原因呀?
我以为是一个shell程序里不能同时出现两个if--then--else语句,可要是不能这样
我要实现程序跳转(也就是查了以个分数等级后,不退出程序还能继续查询第二个)
该用什么方法实现。
小弟在此先行叩谢了。

回复  |  举报
留言热议
请登录后留言。

登录 注册