Linux processes, init, fork/exec, ps, kill, fg, bg, jobs

  Рет қаралды 169,554

Engineer Man

Engineer Man

5 жыл бұрын

Delve into the Linux process management system and see how everything fits together.
Hope you enjoyed the video!
Check out this code here:
github.com/engineer-man/youtu...
Join my Discord server to chat with me:
/ discord
Check out some code on my GitHub:
github.com/ebrian/engineerman
Tweet me something funny on Twitter:
/ _engineerman
Say hi over at Facebook:
/ engineermanyt
Sincerely,
Engineer Man

Пікірлер: 249
@NicholasMaietta
@NicholasMaietta 5 жыл бұрын
Been a linux user since 1995 but I still learned something. Thank you!
@EngineerMan
@EngineerMan 5 жыл бұрын
Glad I could bring you some new knowledge!
@smudgepost
@smudgepost 5 жыл бұрын
Same (1993) Still have trusty Using Linux Sixth Edition (QUE) on my desk..
@heXan
@heXan 3 жыл бұрын
Same here since 1999... Only used kill with -1, -2, -9... fg and bg were new to me. But as a lazy dev I've used it from' top' (even better 'htop') or directly with 'xkill' - point and click style :).
5 жыл бұрын
I don't think I ever hear such clear explanations. Thank you very much! Instead of using 'clear', you could use 'CTRL+L'.
@AbhishekBM
@AbhishekBM 3 жыл бұрын
But it's not the same as clear. It just scrolls the current prompt to the top, you can still see the older commands when scrolling back up
@poorgirl9458
@poorgirl9458 3 жыл бұрын
and when you go ‘set -o vi’ to enable vi mode at the bash prompt ‘ctrl-L’ does not work
@Diprotic
@Diprotic 5 жыл бұрын
I'm 3 minutes in & I've learned A LOT! Thank you! You're the kind of people we need on youtube regarding linux.
@georgichelenkov4360
@georgichelenkov4360 5 жыл бұрын
Great job! Recently found these series and am fascinated! Subscribed immediately! Keep up the good work!
@Hakusha
@Hakusha 5 жыл бұрын
these linux videos are fantastic
@IctioPar
@IctioPar 5 жыл бұрын
Great content! I've recently started working with linux again and it's awesome to get to know more!
@tigercake558
@tigercake558 5 жыл бұрын
really love these videos, I'm learning a lot. Very very accessible and clear videos, please keep up the good work.
@justchecking2470
@justchecking2470 2 жыл бұрын
your content is neat and tidy I can't be grateful more for what you've done on this channel. your contribution for linux learning community is huge
@maxpolaris99
@maxpolaris99 2 жыл бұрын
This was an excellent video that got me up to speed in a hurry. Very well organized and nicely explained. A great jumping off point for my own exploration. Thank you!
@zachmane2
@zachmane2 5 жыл бұрын
Always appreciate the quality of your videos. Goes in depth, but accessible to beginners
@EngineerMan
@EngineerMan 5 жыл бұрын
That's my aim :)
@somber_soul
@somber_soul 5 жыл бұрын
Very helpful. I've only ever seen htop for process management and this helps to understand the underlying signals being sent. Thanks!
@yeeeehaaawbuddy
@yeeeehaaawbuddy 2 жыл бұрын
These are very involved processes, but you explain it all so well, and in such a good order. Thanks!!
@rushikmakwawna
@rushikmakwawna 3 жыл бұрын
Very well explained. Keep uploading such videos. Sound clarity is really good.
@MehdiShokoohi
@MehdiShokoohi 5 жыл бұрын
That was amazing Engineer; wish i could 'fg' all of my postponed tasks and "kill -20 bad-mood" !
@ShivamJha00
@ShivamJha00 5 жыл бұрын
Why not kill -9 it :D
@justChuka
@justChuka 4 жыл бұрын
U mean 9?
@kavithapriyacj4868
@kavithapriyacj4868 Жыл бұрын
Just a wow content .. awesome man that u indirectly mentioned about difference between killed and terminated process ..love u
@bzielinski
@bzielinski 5 жыл бұрын
Brilliant and simple explanation about kill signals. Thank you.
@stargentitude7154
@stargentitude7154 Жыл бұрын
I am learning this at college, but everyone one is struggling due to our harsh teacher making the most hardest test questions. He does not give good material to study, but thank God I came across your channel. I finally understand the real purposes of these commands and enjoy this now!
@alexanderradyuk9204
@alexanderradyuk9204 5 жыл бұрын
Good job 👍🏻 The way you explain is awesome. Even knowing such things I continued watching. Keep it up!
@EngineerMan
@EngineerMan 5 жыл бұрын
Thanks for the kind words, hope I helped in some way.
@skyloreBOTS
@skyloreBOTS 2 жыл бұрын
Dude props on how well you explain everything!
@TheFarmacySeedsNetwork
@TheFarmacySeedsNetwork 5 жыл бұрын
The few videos of yours I've seen are excellent and simple explanations! I will be sharing these with my friends (who are learning) and also my users from my Raspberry Pi series. cheers!
@EngineerMan
@EngineerMan 5 жыл бұрын
Thank you :)
@TheFarmacySeedsNetwork
@TheFarmacySeedsNetwork 5 жыл бұрын
Thank YOU :)
@bitelogger
@bitelogger 4 жыл бұрын
I wish knew your name to properly address my thanks to you and this great video...The quality f your explanation but also the goodwill to share it with the community, my deep respect!!!
@EngineerMan
@EngineerMan 4 жыл бұрын
My name is Brian :)
@mikefdorst
@mikefdorst 5 жыл бұрын
Thanks man! You just upgraded my workflow.
@aayyaa1188
@aayyaa1188 3 жыл бұрын
You make the concept of these command so clear. Thank you soooo much
@josephemmanuel4089
@josephemmanuel4089 2 жыл бұрын
Thank you. This really helps me for my current project
@abhishekshah11
@abhishekshah11 4 жыл бұрын
I'm happy that I recognized all the commands :)
@tdkiran
@tdkiran 2 жыл бұрын
Thanks you for this video . Would like to see more on Linux/unix series
@zgredfryd
@zgredfryd 3 жыл бұрын
Thank You man! I really like your videos. I know what those commands do, but Your explanation of what is really happening in Linux is golden! Yo have a gift to explain things and teach people. Great, great stuff. It's helping me a lot.
@radubojica7888
@radubojica7888 5 жыл бұрын
They took yerr jobs !!! Great video man btw. I learned some things from this which my Operating Systems teacher didn't teach me. :)
@freeuyghur2063
@freeuyghur2063 5 жыл бұрын
11:54 We can use `watch -n 2 jobs` to monitor jobs command every 2 seconds. so we can show the realtime result from pane 1 when the process killed at pane 2. some energy efficiency and fun than manually type a repetitive command.
@brandon.duffany
@brandon.duffany 3 жыл бұрын
Thanks for this awesome tip! This is a game-changer!
@RussTeeTrombone
@RussTeeTrombone 5 жыл бұрын
Thanks so much for these videos. You’re truly a jack of all tech trades.
@isaacvv
@isaacvv 5 жыл бұрын
Thanks for the videos. Keep them coming!
@austinmallar5430
@austinmallar5430 5 жыл бұрын
Where was this 3 months ago during my Operating Systems course?
@diggydude5229
@diggydude5229 4 жыл бұрын
You're looking for W. Richard Stevens' books on UNIX programming, where all of this stuff is explained in detail.
@ChudLife
@ChudLife 3 жыл бұрын
going through it right now in OS course and it is kicking my ass I feel like I am watching the Rockwell Retro Encabulator video
@prabodh11
@prabodh11 2 жыл бұрын
Great video, Informative, thanks for sharing🙏
@ZacKoch
@ZacKoch 5 жыл бұрын
Great as usual!
@kurtmedley1187
@kurtmedley1187 5 жыл бұрын
Clear and concise information. Thank you!
@yangzhang2303
@yangzhang2303 5 жыл бұрын
Really nice and clear. Would you like to make an video about using strace ?
@behruzm
@behruzm Жыл бұрын
Excellent explanation of the above terms
@photopicker
@photopicker 4 жыл бұрын
That was amazingly clear and insightful.
@ForceHunterHD
@ForceHunterHD 5 жыл бұрын
Great linux videos. I hope more are coming cuz i rly want to learn linux
@MichaelMantion
@MichaelMantion 5 жыл бұрын
You are a life saver. You are exactly what I need right now. TY.
@natahmad84
@natahmad84 2 жыл бұрын
Thanks dude, pretty clear and simple!
@aminebouaita9202
@aminebouaita9202 3 жыл бұрын
I want to thank you for the quality of your videos, not just this one. All of your videos
@EngineerMan
@EngineerMan 3 жыл бұрын
You're welcome!
@glikar1
@glikar1 5 жыл бұрын
Superb clarity as usual!
@JTKroll12
@JTKroll12 2 жыл бұрын
really love your videos I learned a lot of stuff about killing
@fruitygranulizer540
@fruitygranulizer540 2 жыл бұрын
this was so incredibly well explained. my prof was making a shit show out of this chapter by just throwing a bunch of words at us. going back and reading his lecture notes, i can understand it now, and i furthur can see how poorly written his lecture was. thank so much for this.
@EngineerMan
@EngineerMan 2 жыл бұрын
Glad it helped :)
@danielmoita6151
@danielmoita6151 5 жыл бұрын
hey just started watching your videos and they have helped me a lot. i like they way you explain. Would you be willing to do a video explaining named pipes for server-client, using multithreading or select() for parallel requests? Thank your for your videos, and keep up the great work :)
@MiseryFarm
@MiseryFarm 5 жыл бұрын
I'm really enjoying these videos. Thanks
@SubiqT
@SubiqT 2 жыл бұрын
Excellent explanations, thanks a lot
@xpkareem
@xpkareem 5 жыл бұрын
I learn a lot from your videos. Thanks!
@frroossst4267
@frroossst4267 Жыл бұрын
Super helpful, super concise, thanks!
@roeyleon22
@roeyleon22 3 жыл бұрын
Very good explenation ! - subscribed :)
@pierrebouchard4289
@pierrebouchard4289 5 жыл бұрын
Great video ... Learned a lot ... You're a gentleman and a scholar ...
@dast6915
@dast6915 5 жыл бұрын
Well I didn't know that. Great content. I will have to look at your other videos now. And subcribe!
@Fernando-wz6no
@Fernando-wz6no 2 жыл бұрын
Kill -15 was really useful. Thanks.
@nox5718
@nox5718 2 жыл бұрын
Learned too much with this video, thanks too much man!
@willb.755
@willb.755 5 жыл бұрын
Great content as always! Thanks man :)
@jonassteinberg3779
@jonassteinberg3779 5 жыл бұрын
well organized and delivered
@lavellefloyd4639
@lavellefloyd4639 5 жыл бұрын
I appreciate you sharing wisdom to linux noobs like myself
@leonardodavinci4259
@leonardodavinci4259 Жыл бұрын
Exactly what I needed. THANKS!
@ezequiel9055
@ezequiel9055 5 жыл бұрын
I wonder what distro are you using since your 'kill -l' output is so different than mine. Yours is more complete and is numbered while mine is just a list of signals, completely useless. As usual great video, very well prepared and organized, and your communication skills are superb ;) you are a very good teacher. I've been a linux user since 1998 and still learning things. Very much appreciated.
@tpaq
@tpaq 5 жыл бұрын
Most shells supply a "builtin" version of kill, try: "type kill". The presenter uses the Bash shell. I use Z-Shell, and its builtin is quite terse. try "/bin/kill -L".
@dushyanthpeddi9690
@dushyanthpeddi9690 5 жыл бұрын
Great stuff. Thanks for this video.
@kapilsonyt
@kapilsonyt 3 жыл бұрын
I have learned something new. Thanks much.
@jorgediaz6730
@jorgediaz6730 5 жыл бұрын
One thing I find very useful is having a process run outside of their parent process So For example if i run a long running process on the bash terminal I can exit the terminal and check on the process later on. You can do this with the screen command.
@Cray2TheZ
@Cray2TheZ 4 жыл бұрын
Brilliant video! Thanks!
@nidishmodala3638
@nidishmodala3638 4 жыл бұрын
thank you so much for clear explanation
@samucancld
@samucancld Ай бұрын
Great explanation, thanks
@trashpandalife
@trashpandalife 5 жыл бұрын
Great videos, thanks!
@hostgrady
@hostgrady 2 жыл бұрын
Very interesting, hopefully I can use these in shell scripts for something
@patrykp8460
@patrykp8460 2 жыл бұрын
after watching 15 sec I knew that this is proper and what I was actually looking for :D
@MatthewStidham
@MatthewStidham 5 жыл бұрын
That was a killer video. Thanks!
@stephenjames5745
@stephenjames5745 5 жыл бұрын
Awesome video! Thanks!
@lawrencedoliveiro9104
@lawrencedoliveiro9104 5 жыл бұрын
3:36 specifying ps options without a dash is BSD-style syntax. Probably best avoided.
@ptaszor9779
@ptaszor9779 5 жыл бұрын
Nice film!
@peacemaker42069
@peacemaker42069 5 жыл бұрын
hey man, great video,can you recommend any books or websites for learning linux/unix
@flakkanon
@flakkanon 5 жыл бұрын
Nice video for recap as a linux user
@fontanot
@fontanot 3 жыл бұрын
great video, you just earned another subscriber
@samkachar
@samkachar 3 жыл бұрын
Learned alot about killing
@4932gb
@4932gb 3 жыл бұрын
Been using unux since 1980 and linux sice 1995. This is good stuff!
@vaibhavppandey
@vaibhavppandey 3 жыл бұрын
Wow :O
@olehbaranovskyi2219
@olehbaranovskyi2219 3 жыл бұрын
thank you, great tutorial!
@oscarceja0212
@oscarceja0212 2 жыл бұрын
Great explanation!!!
@unstoppable-ar3292
@unstoppable-ar3292 3 жыл бұрын
Very good. Thanks man. Legend!!!
@bendover4728
@bendover4728 5 жыл бұрын
Awesome! Where can I find more information like this? I wish to learn and have deep understanding of Linux functioning, commands, etc
@wramarante
@wramarante 5 жыл бұрын
UNBELIEVABLE !!!...why??? Personally I have the habit to check the ratio dislike/like of all videos I intend to watch. I don't go around looking for higher or lower ratios, I just do it before watching it. That said, most of excelent videos I have watched has a ratio score between 1% and 3%. This video of yours has the impressively amazing ratio of 0.35% (5/1400)... You got a new susbscriber and a big fan on a 20 years linux admin.
@EngineerMan
@EngineerMan 5 жыл бұрын
:) Welcome.
@astronautis1674
@astronautis1674 4 жыл бұрын
Very helpful, thanks
@fatemepourghaemi2587
@fatemepourghaemi2587 3 жыл бұрын
amazing job thanks man
@gana706
@gana706 3 жыл бұрын
Ctrl c sends a SIGINT signal. Init is the first process pid = 1 Bash first fork (copies ) the process and than exec (replaces ) the process as child process. T = stopped state S = Interuptable sleep state ( Running in bg) Kill -15 Kill -2 Kill -1 Kill -9 ( my fav )
@carlpilongo539
@carlpilongo539 Жыл бұрын
Thank you for teaching us Linux, Programmer Mrbeast
@manavbagai8548
@manavbagai8548 2 жыл бұрын
Very informative video.
@athmikagowda6728
@athmikagowda6728 2 жыл бұрын
Awesome vedio.....All linux users should have a look
@countofcounts
@countofcounts 3 жыл бұрын
very helpful video my dude
@janignacio7810
@janignacio7810 3 жыл бұрын
You are awesome! Thank you.
@Didanihaaaa
@Didanihaaaa 5 жыл бұрын
thanks for such a great channel. I heard about parallel computing on Linux. could you please teach us some parallel computing stuff? bests
@shamilcarela1699
@shamilcarela1699 5 жыл бұрын
Fantastic video, appreciate.
@bharatsnair
@bharatsnair 3 жыл бұрын
Also check out pstree, which lets you view processes as a tree, helps you see the forks and execs.
@mmobini1803
@mmobini1803 3 жыл бұрын
Thank you!
@Jonathan-rm6kt
@Jonathan-rm6kt 5 жыл бұрын
Thanks for the video engineer man! Do you have (or could you make) a video about properly removing packages? Ie how to make sure pkg mgr removes all misc files
@armandnouri8207
@armandnouri8207 4 жыл бұрын
Great video. Why do different jobs listings appear for different bash log-in sessions?
@abenezerabraham9524
@abenezerabraham9524 Жыл бұрын
Really helpful!
@0xssff
@0xssff 3 жыл бұрын
THANKS A LOT
@wi11ialvl
@wi11ialvl 5 жыл бұрын
More videos like this please.
8 super heroic Linux commands that you probably aren't using
8:38
Engineer Man
Рет қаралды 726 М.
Linux Nice and Priority values
10:56
Engineer Man
Рет қаралды 25 М.
OMG😳 #tiktok #shorts #potapova_blog
00:58
Potapova_blog
Рет қаралды 2,9 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 37 МЛН
Linux Internals - Process Management
34:39
DJ Ware
Рет қаралды 25 М.
How to build a Linux loadable kernel module that Rickrolls people
11:46
The fork() function in C
11:16
CodeVault
Рет қаралды 353 М.
SysVinit vs Systemd
31:19
DJ Ware
Рет қаралды 52 М.
Reading Kernel Source Code - Analysis of an Exploit
19:02
LiveOverflow
Рет қаралды 124 М.
What is the Command Line? (Linux Zero to Hero 2022)
17:33
Engineer Man
Рет қаралды 13 М.
Difficult Programming Concepts Explained
11:13
Engineer Man
Рет қаралды 68 М.
Understanding Fork Bombs in 5 Minutes or Less
5:55
Engineer Man
Рет қаралды 166 М.
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 3,1 МЛН
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 7 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,4 МЛН
💅🏻Айфон vs Андроид🤮
0:20
Бутылочка
Рет қаралды 565 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 936 М.