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

Saving output to files · ⁨출력을 파일에 저장하기⁩

English

Catching the output

  • Normally a command's output appears on screen. The > symbol redirects it into a file instead:
  • Nothing prints — the text went into greeting.txt. Read it back with cat greeting.txt.

한국어

출력 캡처하기

  • 일반적으로 명령어의 출력은 화면에 표시됩니다. 그러나 > 기호는 이를 대신하여 파일로 재지향합니다:
echo hello > greeting.txt
  • 아무것도 출력되지 않습니다 — 텍스트가 greeting.txt로 들어갔습니다. 다시 보려면 cat greeting.txt을 사용하세요.

> 기호는 명령어의 출력을 화면이 아닌 파일로 보냅니다

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

IGCSE, A-Level & AP