V2EX  ›  英汉词典
Enqueued related words: Named Pipe, Mkdir

Mkfifo

释义 Definition

mkfifo:Unix/Linux 命令,用来创建命名管道(named pipe,亦称 FIFO special file)。命名管道是一种特殊文件,允许不同进程通过文件路径进行按顺序(先入先出)的流式通信。(该词也可泛指“创建 FIFO 的工具/命令”。)

发音 Pronunciation (IPA)

/ˌɛmkeɪˈfaɪfoʊ/

例句 Examples

I used mkfifo to create a named pipe.
我用 mkfifo 创建了一个命名管道。

After running mkfifo /tmp/logpipe, one process can write logs into /tmp/logpipe while another reads them in real time, enabling simple inter-process communication.
运行 mkfifo /tmp/logpipe 之后,一个进程可以把日志写入 /tmp/logpipe,另一个进程实时读取,从而实现简单的进程间通信。

词源 Etymology

mkfifo 可理解为 “make FIFO” 的缩写:mk 是 Unix 工具里常见的“make/创建”缩写(如 mkdir),FIFOFirst In, First Out(先入先出) 的数据顺序。该命令用于创建“FIFO 文件”,也就是命名管道。

相关词 Related Words

文学与典籍中的用例 Literary Works

  • *mkfifo(1) — Linux manual page (man-pages)*(Linux/Unix 手册页)
  • The Linux Command Line(William Shotts)
  • UNIX Power Tools(Shelley Powers 等)
  • Advanced Programming in the UNIX Environment(W. Richard Stevens, Stephen A. Rago)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2078 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms · UTC 13:17 · PVG 21:17 · LAX 05:17 · JFK 08:17
♥ Do have faith in what you're doing.