EOF
End-of-file marker. In a Unix pipeline it indicates that all write ends have been closed, and the read end receives an EOF signal after finishing reading the data.
Timeline (last 90 days)
An abnormal exit of the process on the write end of a pipe may cause the read end to block permanently; a common approach is to let the read end receive EOF when all write ends are closed and trigger re-initialization.
After nohup or disown, the process is still alive, but its controlling terminal has hung up; reads return EOF and writes return EIO, so interactive input and output are not possible.
In Unix and Unix-like systems, /dev/null is a special device file; data written to it is discarded directly, and reading it immediately returns end-of-file (EOF).
All Facts (3)
In Unix and Unix-like systems, /dev/null is a special device file; data written to it is discarded directly, and reading it immediately returns end-of-file (EOF).
60%UnverifiedAn abnormal exit of the process on the write end of a pipe may cause the read end to block permanently; a common approach is to let the read end receive EOF when all write ends are closed and trigger re-initialization.
50%UnverifiedAfter nohup or disown, the process is still alive, but its controlling terminal has hung up; reads return EOF and writes return EIO, so interactive input and output are not possible.
50%