5
從細手冊頁:我如何知道bash kill是否會使用pid或jobspec?
kill [-s sigspec | -n signum | -sigspec] [pid | jobspec] ... kill -l [sigspec | exit_status] Send the signal named by sigspec or signum to the processes named by pid or jobspec. sigspec is etc. etc....
那麼是什麼決定kill 1
是否殺死init進程或JOBSPEC 1?
咦,不知道殺了支持JOBSPEC,我一直使用通用'jobs -x kill%1' – bishop 2016-04-14 17:28:50