ChinaUnix.net
相关文章推荐:

for i in `seq 1 100`do ssh i done

for 有没有这样的用法 example: for i in `cat aa`;for j in `cat bb`;do .........;done 这2个for 该如何写。

by 709101040516 - Shell - 2010-04-08 09:59:12 阅读(8397) 回复(10)

相关讨论

orauser@r86ocs1:/oravl01/oracle/Users>ksh orauser@:/oravl01/oracle/Users>whiel true do ksh: whiel: not found orauser@:/oravl01/oracle/Users>while true do > sleep 30 > done ksh: syntax error: `done' unexpected orauser@:/oravl01/oracle/Users>uname -a HP-UX r86ocs1 B.11.31 U ia64 0094021947 unlimited-user license

by XQKA - HP-UX - 2013-06-21 21:57:52 阅读(1437) 回复(3)

在本机时可以执行for u in /home/* ; do echo $u; done 我将根分区挂到/mnt 时执行 chroot /mnt for u in /home/* ; do echo $u; done 报错 -bash: syntax error near unexpected token `do' 请教该怎么写?

by chzht001 - Shell - 2008-01-03 10:14:22 阅读(1750) 回复(1)

连内置方法都那么多同义词,如判断hash key的: key?, has_key?, member?, include? 比Perl更强悍~~ :luya: :luya:

by 兰花仙子 - Ruby - 2010-12-05 07:30:39 阅读(9548) 回复(17)

Dear xxxx san, Hello. I investigated about the cause of the CPU usage, and I suspect the process started between 8:20 and 8:40 on May 30 is the cause of this problem. Could you ask the person of IT sector in charge of each application( GALC, GPCS, GSITE) about any process start about 8:00 on Sunday? Best Reagards, ************************************* XXXXX System Sector No.1 Automotive Solution...

by daichuang - AIX文档中心 - 2005-06-05 13:53:58 阅读(1106) 回复(0)

“$LINE” 的空格会没有 不知道为什么 有没有什么直接读取文件的方法 不会去掉空格什么的????

by Piaomiao139 - Shell - 2014-08-21 18:22:13 阅读(1370) 回复(9)

for ............ do command ......>> a.txt done 为什么这样a.txt 里没有东西? 单独执行 command..........>>a.txt 是可以的 还有 就是 去掉 >>a.txt 脚本也是正确运行的! 为什么加了这个连脚本运行都有问题?

by fllintel - Shell - 2009-12-03 10:08:15 阅读(2158) 回复(12)

逻辑没错误,主要是报错说done不对?可以省略看dodone之间的代码。请不要吝啬您的建议,您的建议也许能给我些提醒。 while read bt3 sta3 btype #bt3=batch_no ,sta3=status,btype=batch_type do count=0 case $sta3 in # 未写) cd /richter/download/error; mv *$bt2*.dat ../data ; mv *$bt2*.ok ../data;cd /richt er/download/data;compress *$bt2*.dat;cd ../bin;vms_download.sh;; "E"|"...

by pvb1979 - Shell - 2011-09-20 17:55:18 阅读(7390) 回复(16)

THFS文件系统模块编码完成,只有2K行,恩......更多功能以后再说吧...... B Tree Allocate Group Journal log Block Allocate Strategy Dir Entry Manage Strategy 先把论文写了。 然后就去baidu实习咯~ 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/22342/showart_280784.html

by terryfe - Linux文档专区 - 2007-04-18 15:43:20 阅读(630) 回复(0)