Inspect service configuration
sysrc -a | head
service -e | head- sysrc reads effective rc.conf values.
- service -e lists enabled services.
Follow the system from firmware and loader through kernel startup, init and rc.d service orchestration.
The loader prepares the kernel and modules; the kernel initializes hardware and starts init. In multi-user startup, the rc system reads defaults plus host-specific configuration and starts filesystems, networking and services.
Do not edit /etc/defaults/rc.conf. Put host overrides in /etc/rc.conf, commonly through sysrc. Installed package services usually provide scripts under /usr/local/etc/rc.d.
sysrc -a | head
service -e | headGoal: Inspect SSH state, enable it persistently, and understand immediate versus next-boot behavior.
service sshd status || true
sysrc sshd_enablesysrc sshd_enable="YES"sshd -t
service sshd start
service sshd statusPersistent service state and current process state are separate concerns on production systems.
Open each answer only after you have tried to answer the question yourself.
Persistent rc.conf-style configuration.
Many rc scripts require the enable flag for normal start; onestart can bypass that gate for one invocation.
/etc/rc.conf.
Progress is saved in this browser immediately. When you sign in to My Learning, it can also sync across devices.
Attempt the core lab and knowledge checks before marking the module complete.