systemd on Linux 2: systemctl commands
Vložit
- čas přidán 13. 06. 2024
- The second video in the systemd series, which covers the most common systemctl commands that developers, sysadmins, and devops engineers use.
0:00 Introduction
0:13 systemctl subcommands
0:30 systemctl list-units
0:54 systemctl list-unit-files
1:23 unit state management
1:40 systemctl status
2:08 enable/disable vs. start/stop
4:20 type forking, PIDFile
5:16 systemctl stop
5:40 ExecReload and systemctl reload
6:30 Review / Summary
6:56 systemctl kill
7:12 Unit Statuses
8:25 Indirect, Linked, Masked, etc.
www.freedesktop.org/software/...
My Udemy course for beginners: www.udemy.com/course/hands-on...
Linode Referral Link (you get $100 credit when signing up): www.linode.com/tutorialinux
tutorialinux Merch: / @tutorialinux
Free Linux Sysadmin Course Playlist: • The Linux Basics Cours...
Patreon: / tutorialinux
Official Site & e-mail list: tutorialinux.com/
Twitter: / tutorialinux
Facebook: / tutorialinux
Podcast: kernelpanicpodcast.com - Věda a technologie
3:15 Slight correction. You can enable and start or disable and stop a service immediately, just use the --now switch.
systemctl enable --now nginx
systemctl disable --now nginx
Wow thanks, I never knew that! Super useful.
I love this guy. You need someone who is super senior in the Linux field. The way he's teaching, I can tell he's an OG
Making my self ready for interviews and you are guiding from somewhere like a Professor ☺️Thank you
As a system administrator?
@@plasmalife5532 Yes
Did you did CSE ??
My teacher has been doing this and lecturing this for years and I swear I try to learn from him but it's just too hard. He starts divagating and it becomes confusing. Ends up mixing every term in the same lecture without letting us understand the basics first, so imagine these explanations but instead of "we are going to talk about sockets later on" or something like that, he just inserts it in the middle of the class without wrapping up what he was explaining before. Then we ask him about X and he explains Y and only by studying out of class are we able to understand that the answer he provided wasn't the one we actually needed at the time. I'm so glad these videos are available so easily on youtube for people who want/have to learn about the subject. It feels good to study and actually learn something. No hate to the teacher, I'm sure some people are able to keep up and might even like his methods but me personally, I can't, so I'm very grateful for the content of this channel. Keep it up :D
Thanks for the comprehensive video
Nice! I bought two shirts from ya! Thanks man, already helpful! You deserve a gold star!
How interesting... just right now swapped from NetworkManager to Systemd-networkd. :)
i like the way you explain this stuff. i'm wondering what modern services normally look like; e.g. we have some old java services which seem to be all circa 1902 shell scripts, and i keep wondering why they're not written in ruby or python. maybe the convention is to have systemd units never assume anything but the bare basics (i.e. bash or ksh) are installed
thank you!
What is the difference between stop and kill? do they both stop the service? (i know disable must be used to prevent the service to boot on startup)
thanks
Rare type videos ❤️
❤️
great video only, "masked" service (systemctl mask $unit) will disable the service but not "ignore it". You just cannot start a "masked" service. This is useful when a service should live on system but you want it never be started by anybody.
ur a god
No. The only God is The Ghost of Sparta: *Kratos* LOL😂
Dude please make the command line higer, the red line of youtube player closes it
really enjoying all the playlist. Can you please turn off the background music, It distract me from focusing