A Linux server running systemd booted to rescue.target for maintenance. Which commands are used to restore the server to its usual target? (Choose two.)
I'm pretty confident on this one. Since the server is running systemd, the correct commands are B (systemctl default) to restore the default target, and C (sync) to ensure any pending changes are written before rebooting.
I'm a little confused by the wording of this question. Does "restore the server to its usual target" mean going back to the default target, or something more specific? I'll have to review my systemd knowledge before answering.
Okay, I've got this. The key is that the server booted to rescue.target, so we need to use systemctl commands to get it back to the default target. B and E seem like the right choices here.
Hmm, I'm a bit unsure about this one. I know telinit is used for the older SysV init system, but I'm not sure if it still applies with systemd. I'll have to think this through carefully.
I think the answer is B and C. Systemctl default should restore the server to its usual target, and sync is a good idea to ensure any pending changes are written to disk before rebooting.
D) systemctl emergency? What is this, a fire drill? B) systemctl default and E) systemctl reboot are the way to go, my friends. Systemd is the boss, and we're just living in its world.
I'm torn between B) systemctl default and E) systemctl reboot. Decisions, decisions. Maybe I'll just go with both, you know, cover all my bases. Gotta keep that server on its toes!
A) telinit 0? Really? Are we still living in the Stone Age? B) systemctl default is the way to go, my dudes. Systemd is the future, and the future is now.
Well, obviously B) systemctl default is the way to go. I mean, who doesn't love a good 'default' target? It's like the server's version of a comfy pair of sweatpants.
Jimmie
3 months agoMichell
3 months agoLucina
3 months agoKirk
4 months agoKanisha
4 months agoPaul
4 months agoDahlia
4 months agoCatarina
4 months agoHan
5 months agoChaya
5 months agoCatina
5 months agoMitzie
5 months agoAlison
5 months agoDaryl
5 months agoDarrel
5 months agoMyrtie
1 year agoSylvia
1 year agoGlendora
1 year agoLaticia
1 year agoCathrine
1 year agoReita
1 year agoIvette
1 year agoRoslyn
1 year agoMinna
1 year agoRoxanne
1 year agoJamal
1 year agoJaclyn
1 year agoTeri
1 year agoDoug
1 year agoFabiola
1 year agoGalen
1 year agoWilford
1 year agoGlynda
1 year agoAdelle
1 year agoIrma
1 year agoMollie
1 year agoVallie
1 year ago