일단 답변 감사드립니다~. ^^
해보니까 되네요.. 근데,..
:
: $ cat temp.sh
: #!/bin/sh
: while :; do echo "nohup test"; sleep 1; done
: $ nohup sh temp.sh > ~/test 2>&1 &
^^^^ <-- 이 부분이 이해가 잘 안 되네요. 좀 설명을 부탁드
려두? @.@ 첨엔 저것두 오타인줄 알았는데,. 그대로 따라 하니깐 되더라구염.. ;;
(아, 저는 첨에 nohup temp.sh > test & 이런 식으로만 했었답니다. )
: [1] 2035
: $ sleep 5 && kill %1
: $ cat temp.sh
^^^^^^^ <-- 이건 test 의 오타겠죠? ^^;;
: nohup test
: nohup test
: nohup test
: nohup test
: nohup test
: nohup test
: nohup test
: nohup test
: $ rm ~/test temp.sh
:
:
: 이런 식으로 처음부터 출력을 지정해 주시면 됩니다.