미니옵빠의 code stubs

nohup *command* 1>/dev/null/ 2>&1 & ...? 본문

OS/Linux

nohup *command* 1>/dev/null/ 2>&1 & ...?

미니옵빠 2011. 8. 28. 19:31
출처 <a href='http://kin.naver.com/' class='con_link' target=_blank>지식iN</a> > <a href='http://kin.naver.com/list/dir_home.php?d1id=1&dir_id=1' class='con_link' target=_blank>컴퓨터, 통신</a> > <a href='http://kin.naver.com/list/dir_home.php?d1id=1&dir_id=102' class='con_link' target=_blank>운영체제</a> > <a href='http://kin.naver.com/list/dir_home.php?d1id=1&dir_id=10203' class='con_link' target=_blank>유닉스</a>
질문: nohup *command* 1>/dev/null/ 2>&1 & ...? yundarz / 2006-06-02 15:51

nohup 실행파일 1>/dev/null/ 2>&1 &

 

유닉스 명령에 nohup 란 것이 있읍니다

 

여기서 .1>/dev/null/ 2>&1   이부분이 의미 하는바를 모르겠습니다.

특히 숫자 부분...^^

 

혹시 아시는 분을 알려 주세용 ^^^

답변: re: nohup *command* 1>/dev/null/ 2>&1 & ...? phalm / 2006-05-29 12:55

 

1번 (stdout)을 /dev/null로 보내고 2번(stderr)를 아까 1번으로 보냈던 곳으로 보내란 소립니다.

 

쉽게 말하면 결과값이 에러든, 정상적인 메시지 출력이든 안 보겠단 소...