
/dev/null 2>&1
·
Programming
What does "/dev/null" mean at the end of shell commands What is the difference between the following commands? ssh myhostname "command1; command2;...commandn;" 2>/dev/null ssh myhostname "command1; command2;...commandn;" what does 2> mean? what... stackoverflow.com /dev/null 리눅스에서 위 파일은 항상 비어있다고 한다. 그러니깐 예약어 같은 느낌이라고 생각하면 될 것 같다. 이 곳으로 전송된 결과는 모두 버려진다는 특징을 가지고 있다. 2 > &1 리눅스 표준 입출력 리다이렉션 쉘에서 키보드..