linux下面shell脚本报错了,求大侠帮忙 报错信息“./luc: line 3: [0: command not found”
#!/bin/bashdeclaredata="0"while["$data"-lt100]dolet$data="$data+1"done...
#! /bin/bash
declare data="0"
while ["$data" -lt 100]
do
let $data="$data+1"
done 展开
declare data="0"
while ["$data" -lt 100]
do
let $data="$data+1"
done 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询