ubuntu daemon (nohup)

쉘 작성

vi test.sh
#!/bin/bash
while true
do
echo "aaaaaaaaaaaa"
sleep 1
done

데몬 실행

  • & 을 적으면 해당 쉘을 실행시키고 빠져나온다.
nohup ./test.sh &

Published by

shotan

Hi i'm cho

Leave a Reply

Your email address will not be published. Required fields are marked *