有關script的問題? - Linux

By Vanessa
at 2008-11-16T12:18
at 2008-11-16T12:18
Table of Contents
※ 引述《appleboy46 (小惡魔)》之銘言:
#!/bin/bash
for(( i=1; i<=100; i=i+1 ))
do
if [ "$i" -lt 10 ]; then
/usr/bin/touch "tty0${i}";
else
/usr/bin/touch "tty${i}";
fi
done
這是我改好的
--
Appleboy Blog: http://blog.Wu-Boy.com
Appleboy Life: http://life.wu-boy.com
--
#!/bin/bash
for(( i=1; i<=100; i=i+1 ))
do
if [ "$i" -lt 10 ]; then
/usr/bin/touch "tty0${i}";
else
/usr/bin/touch "tty${i}";
fi
done
這是我改好的
--
Appleboy Blog: http://blog.Wu-Boy.com
Appleboy Life: http://life.wu-boy.com
--
Tags:
Linux
All Comments

By Olive
at 2008-11-20T23:53
at 2008-11-20T23:53

By Ida
at 2008-11-21T01:51
at 2008-11-21T01:51

By Yuri
at 2008-11-23T18:07
at 2008-11-23T18:07

By Kyle
at 2008-11-23T20:05
at 2008-11-23T20:05

By Mason
at 2008-11-27T22:42
at 2008-11-27T22:42

By Barb Cronin
at 2008-11-28T05:56
at 2008-11-28T05:56
Related Posts
Mandriva 下載要安裝或更新的套件時斷線

By Elvira
at 2008-11-16T10:33
at 2008-11-16T10:33
你們用什麼繁體中文輸入法

By Susan
at 2008-11-16T08:41
at 2008-11-16T08:41
ubuntu的C shell檔案

By Elizabeth
at 2008-11-16T02:11
at 2008-11-16T02:11
telnet的問題

By Doris
at 2008-11-16T00:09
at 2008-11-16T00:09
單機雙核心可以灌mpich or mpich2嗎?

By Kristin
at 2008-11-15T23:23
at 2008-11-15T23:23