Sample Header Ad - 728x90

Why read process doesn't show up in ps -ef

1 vote
1 answer
47 views
I open two terminal windows. In one, I run:
$ read foo
I don't press RETURN, so read is blocking. In the other terminal window, I search for the process:
$ ps -ef | grep foo
user        95292   94814  0 08:04 pts/11   00:00:00 grep foo
However, the running read process is not showing up? What am I doing wrong?
Asked by Ruben P. Grady (31 rep)
Jan 21, 2025, 12:07 AM
Last activity: Jan 21, 2025, 12:24 AM