Skip to content · ⁨본문 바로가기⁩

Pipes — joining commands

English

The big idea: pipes

  • This is what makes the shell powerful. A pipe | sends one command's output straight into the next command:
  • cat produces the lines; sort receives them and puts them in order. No file in between.

한국어

핵심 개념: 파이프

  • 이것이 쉘을 강력하게 만드는 이유입니다. 파이프 |는 한 명령어의 출력을 다음 명령어로 직접 전달합니다:
cat fruits.txt | sort
  • cat가 줄을 생성하고, sort이 받아서 순서를 정합니다. 중간에 파일이 없습니다.

파이프는 한 명령어의 출력을 다음 명령어로 바로 전달합니다: cat | sort | uniq

Log in or create account · ⁨로그인 또는 계정 만들기⁩

IGCSE, A-Level & AP