#!/bin/bash
rm -f file2
until [ -f file2 ] && echo "hello"
do
touch file2
echo "Hi"
done
exit 0
shell Learning [ until 的用法]
最新推荐文章于 2024-11-13 10:21:09 发布
#!/bin/bash
rm -f file2
until [ -f file2 ] && echo "hello"
do
touch file2
echo "Hi"
done
exit 0
308
1611
4414

被折叠的 条评论
为什么被折叠?