#!/bin/bash
rm -f file2
until [ -f file2 ] && echo "hello"
do
touch file2
echo "Hi"
done
exit 0
shell Learning [ until 的用法]
最新推荐文章于 2023-04-27 21:07:49 发布
#!/bin/bash
rm -f file2
until [ -f file2 ] && echo "hello"
do
touch file2
echo "Hi"
done
exit 0