Learning (Jinseung Yu)
/
Linux
/
Pipe
Search
Pipe
|
(파이프) 연산자는
왼쪽 명령어의 출력(stdout)을 오른쪽 명령어의 입력(stdin)으로 연결한다.
echo
"hi"
|
cat
# Result
hi
Shell
복사
echo
"hi"
>
invisible_file
# 파일에 저장
cat
<
invisible_file
# Result
hi
Shell
복사