changepicture Asked: 2019-01-02 04:39:33 +0800 CST2019-01-02 04:39:33 +0800 CST 2019-01-02 04:39:33 +0800 CST How can I find the runlevel of the processes of /etc/init.d? 772 I want to find out in which runlevel the files of /etc/init.d are started. Has someone any idea? I thought there might be the option to find it with the find command find runlevel 1 Answers Voted Best Answer Ravexina 2019-01-02T04:52:46+08:002019-01-02T04:52:46+08:00 Run: cd /etc/init.d grep Default-Start * Results: dbus:# Default-Start: 2 3 4 5 docker:# Default-Start: 2 3 4 5 gdomap:# Default-Start: 2 3 4 5 ... Just to note, from man runlevel: ┌─────────┬───────────────────┐ │Runlevel │ Target │ ├─────────┼───────────────────┤ │0 │ poweroff.target │ ├─────────┼───────────────────┤ │1 │ rescue.target │ ├─────────┼───────────────────┤ │2, 3, 4 │ multi-user.target │ ├─────────┼───────────────────┤ │5 │ graphical.target │ ├─────────┼───────────────────┤ │6 │ reboot.target │ └─────────┴───────────────────┘
Run:
Results:
Just to note, from
man runlevel
: