※ 引述《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
--
All Comments