Besonderhede van voorbeeld: 3385823317037034070

Metadata

Author: WikiMatrix

Data

English[en]
For example, one can create a pipe and set up gzip to compress things piped to it: mkfifo my_pipe gzip -9 -c < my_pipe > out.gz & In a separate process shell, independently, one could send the data to be compressed: cat file > my_pipe The named pipe can be deleted just like any file: rm my_pipe A named pipe can be used to transfer information from one application to another without the use of an intermediate temporary file.
Korean[ko]
예를 들어, 명명된 파이프를 만들고 파이프에 입력된 것을 gzip으로 압축하는 경우 다음과 같이하면 된다. mkfifo my_pipe gzip -9 -c < my_pipe > out.gz & 별개의 프로세스 셸에서는, 이와는 완전히 독립적으로 압축을 해서 데이터를 보낼 수도 있다. cat file > my_pipe 명명된 파이프는 일반 파일처럼 삭제할 수도 있다. rm my_pipe 명명된 파이프는 하나의 응용 프로그램에서 다른 응용 프로그램으로 정보를 전달하기 위해 임시 파일을 만들지 않고도 할 수 있다.

History

Your action: