黑道小孩的請假單
shell - While loop to test if a file exists in bash - Stack Overflow親愛的王老師: 你好~!我想請假,本來我是不想的,但是爸爸昨天收保護費被人砍了,今天找不到人手,於是叫我去湊個數。王老師請您放心,我不會被人拿刀砍的。雖然我才上二年級,但是去年我已經和隔壁班的小強打過一架,他那時候是五年級,最後他被我打的拖進醫院縫了八針,住了1個禮拜的醫院,那時候我還是手When you say "doesn't work", how do you know it doesn't work? You might try to figure out if the file actually exists by adding: while [ ! -f /tmp/list.txt ] do sleep 2 done ls -l /tmp/list.txt You might also make sure that you're using a Bash (or related...
全文閱讀