• Linux,  Programming

    [Linux] Redirection (2>&1)

    Linux shell에선 출력되는 결과를 다른 방식으로 변경하는 명령이 존재한다. Standard I/O 0: Standard input 우리가 키보드로 입력하는 것을 표준 입력이라고 말한다. 이는 file descriptor에 0번으로 지정되어 있다. 1: Standard output 우리가 모니터로 출력을…