how to get ubuntu current default runlevel
【Purpose】
Learning how to get ubuntu current default runlevel
【Eevironment】
Ubuntu 16.04, terminal
【Procdeure】
root@IoTP:~# systemctl get-default
graphical.target
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5