저는 Ubuntu 22.04.3 LTS(Jammy Jellyfish)를 사용하고 있습니다.
$ ps -p 1635
PID TTY TIME CMD
$ kill -0 1635 ; echo $?
0
$ type kill
kill is a shell builtin
$ echo $BASH_VERSION
5.1.16(1)-release
$ mount|grep proc
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
kill -0
나는 다시 돌아오기를 바랍니다 bash: kill: (1635) - No such process
.
업데이트 1
ps -eLf | awk 'NR == 1 || /1635/'
PID PPID LWP C NLWP STIME TTY TIME CMD
1632 1091 1635 0 9 13:07 ? 00:00:00 /usr/libexec/evolution-calendar-factory