KILL Linux processes!! (also manage them) // Linux for Hackers // EP 7

Sdílet
Vložit
  • čas přidán 10. 07. 2024
  • Access your FREE Linux lab here: ntck.co/htbacad (HTB Academy)
    Welcome to episode 7 of the Linux for Hackers series. In this episode, NetworkChuck takes you on a journey of how to manage processes in Linux. He covers everything from how to find processes, put them in the foreground and background, and even how to KILL processes!!
    Checkout HTB:
    -HTB: ntck.co/htb
    -HTB Academy: ntck.co/htbacad
    🔥🔥Join the NetworkChuck membership: ntck.co/Premium
    **Sponsored by Hack The Box
    SUPPORT NETWORKCHUCK
    ---------------------------------------------------
    ➡️NetworkChuck membership: ntck.co/Premium
    ☕☕ COFFEE and MERCH: ntck.co/coffee
    Check out my new channel: ntck.co/ncclips
    🆘🆘NEED HELP?? Join the Discord Server: / discord
    STUDY WITH ME on Twitch: bit.ly/nc_twitch
    READY TO LEARN??
    ---------------------------------------------------
    -Learn Python: bit.ly/3rzZjzz
    -Get your CCNA: bit.ly/nc-ccna
    FOLLOW ME EVERYWHERE
    ---------------------------------------------------
    Instagram: / networkchuck
    Twitter: / networkchuck
    Facebook: / networkchuck
    Join the Discord server: bit.ly/nc-discord
    0:00 ⏩ Intro
    1:49 ⏩ Access your FREE Linux Lab
    2:23 ⏩ recap: What is a Linux Process?
    2:54 ⏩ the PS command (diving deeper)
    4:40 ⏩ how to KILL a Linux Process
    5:40 ⏩ find a process id by name (pgrep)
    6:28 ⏩ ps….let’s talk more about it
    8:00 ⏩ how to monitor Linux processes (top and htop)
    9:01 ⏩ background and foreground processes
    15:02 ⏩ the KILL command (deep dive)
    AFFILIATES & REFERRALS
    ---------------------------------------------------
    (GEAR I USE...STUFF I RECOMMEND)
    My network gear: geni.us/L6wyIUj
    Amazon Affiliate Store: www.amazon.com/shop/networkchuck
    Buy a Raspberry Pi: geni.us/aBeqAL
    #python #pythonrightnow #learnpython
  • Věda a technologie

Komentáře • 499

  • @yoman9446
    @yoman9446 Před 2 lety +194

    This guy makes everything fun

    • @rajeevmaurya2
      @rajeevmaurya2 Před 2 lety +4

      Learn with fun 🤩

    • @thisisnotok2100
      @thisisnotok2100 Před 2 lety +4

      Could make a class on watching paint dry and id sign up

    • @noop-chair
      @noop-chair Před 2 měsíci

      please tell me it is real don't burst my bubble ​@@thisisnotok2100

  • @gmc9753
    @gmc9753 Před 2 lety +101

    You can kill using a job number, rather than a process ID with
    kill %1 (or whatever job number).

  • @HenrikLarsson458
    @HenrikLarsson458 Před 2 lety +64

    Always been confused about killing processes and never bothered learning why -9 always works. Now I know. Thanks 👍

    • @rahulthapa5201
      @rahulthapa5201 Před 2 lety +1

      Same here

    • @oktayx189
      @oktayx189 Před 2 lety +5

      It doesn't always work. There are situations when a hung process will not die even with -9. Usually seen when a process is waiting for something like disk or network.

    • @NK-iw6rq
      @NK-iw6rq Před rokem +1

      Just keep it killing processes and not humans and you'll be just fine.

  • @curiousmemory
    @curiousmemory Před 2 lety +7

    You made my day by adding episode 7 today!! I recently switched from windows 10 to Ubuntu 20.04. I’ve always used windows os but always had a soft spot for Linux and well after watching your channel for a few months I decide to make the switch. Thanks for the education!! I also wanted to give you my respect. I was born in 88 and it’s very inspiring to see someone my age accomplish such great things!! ❤️✌🏻🖖🏻

  • @dwolf0012
    @dwolf0012 Před 2 lety +46

    Chuck you are the Perfect IT teacher I was looking for Super easy and Great Explanations Thanks ♥️♥️

  • @sharwinshreds
    @sharwinshreds Před 2 lety +5

    Chuck, you are the best tech teacher I ever seen, I watch every single one of your video's, because every they have encouraged me to study linux, networking, security etc. You're always the best. Thank you very much.

  • @JerimiahMayle
    @JerimiahMayle Před 2 lety

    I like watching people like you. Although I am very very familiar with Linux already, seeing people excited to use and learn about Linux makes me happy. Mostly coming from a world of Windows Server, I enjoy watching people use Linux for many things.

  • @FlawedFabrications
    @FlawedFabrications Před rokem +2

    "Anyways, that's enough killing for today." - NetworkChuck, 2022

  • @hugo2797
    @hugo2797 Před 2 lety

    Dude, mostly know this stuff but still watching. It’s so fun to watch! Keep going, your videos are golden.

  • @MoabiMosimane
    @MoabiMosimane Před 2 lety

    this is really amazing content, ive always been a windows user and a personal windows spokes person but now i even joined the HTB Academy all because of the amazing content. im in IT and i just realised how important Linux is and how easy and fun it can be to learn the system. Thanks man keep up the amazing work Chuck!

  • @fernandovicentin7564
    @fernandovicentin7564 Před 2 lety +1

    That was a "Mortal Bash Kombat"? I felt for the 3 ping jobs... Triple Kill ☠ malevolent laugh 🤣🤣

  • @michaelwaterman3553
    @michaelwaterman3553 Před 2 lety +2

    You’re killing it! Wonderful video, missed you the last couple of weeks! Hope you’re doing well.

  • @relentlessgrinds5956
    @relentlessgrinds5956 Před 2 lety

    Loved the break down and instruction watched all 7 vids in a row! Thank you for making such educational entertaining vids.

  • @NK-iw6rq
    @NK-iw6rq Před rokem

    Chuck thank you so much ! Ive learned so much from your videos ! I even showed my professor your channel and he loved it and wants to start assigning students homework to watch your videos.

  • @edpowers3764
    @edpowers3764 Před 2 lety

    great video! Just binged this whole linux series. Please keep em coming!

    • @CTOLARSSON-hk4bp
      @CTOLARSSON-hk4bp Před 2 lety

      Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰

  • @CryptoDabber710
    @CryptoDabber710 Před 2 lety +4

    Thank you for everything you do on educating people. I love your videos so happy CZcams decided to recommend them to me. I've been hacked multiple times and was never really that technical. I've been learning more and becoming more technical. I have a career in Healthcare but have been wanting to make a career change to something else. I've been trying to learn how to code and more about networking and cyber security. I do have learning disabilities and dyslexia so it takes me a bit more time to get the information. I was thinking about going back to school for a Network Security Technician course but Hack the Box looks like it could be way better as it's more along how I learn. Keep up all the amazing work and much love.

  • @azorgalena
    @azorgalena Před 2 lety

    Just read about this same topic today while studying for my RHCSA. Great video!

  • @Darkk6969
    @Darkk6969 Před 2 lety +2

    Learned something new today about killing processes. Love htop! I also use tmux to make it easier to keep the process going after I disconnect from SSH. The examples explained in the video are way cooler!

  • @adminomhfoz1908
    @adminomhfoz1908 Před 2 lety

    network chuck is a legend - makes learning linux look like fun

  • @MrArcTiq
    @MrArcTiq Před 2 lety

    Thanks, man. You made me really understand with ease most linux concept that looked complex. Thanks so much.

  • @nobyra
    @nobyra Před 2 lety +1

    Love these videos, and also love this guy. Keep up the good work.

  • @miteshkulkarni3835
    @miteshkulkarni3835 Před 11 měsíci

    Love his energy🤖...Thanks NetworkChuck, you are Awesome!!!

  • @0eieiei
    @0eieiei Před 2 lety +1

    I'm working on my CCNA. Got a full course and textbooks. Thanks for getting me started, Chuck.

    • @CTOLARSSON-hk4bp
      @CTOLARSSON-hk4bp Před 2 lety

      Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰

  • @pavan13
    @pavan13 Před 2 lety

    I was waiting for this for a long time finally got new episode

  • @gueroloco8687
    @gueroloco8687 Před 2 lety

    I love you videos Brother!! You are blessed to be able to do them

  • @storm2go
    @storm2go Před 2 lety

    Grate content full of knowledge, can't wait for episode 8

  • @darekkonopka2031
    @darekkonopka2031 Před 2 lety

    I went over a ton of process stuff in my operating systems class and all I wanted to say was this was a very well made video (as always)

    • @CTOLARSSON-hk4bp
      @CTOLARSSON-hk4bp Před 2 lety

      Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰

  • @user-sh5zv4yf5s
    @user-sh5zv4yf5s Před 2 lety +8

    You are a great teacher Chuck❤️❤️

  • @charlie8342
    @charlie8342 Před 2 lety

    finally! looked forward to another linux related vid! thanks

  • @josipmandic6408
    @josipmandic6408 Před 4 měsíci

    Let's just take a moment and appreciate the way this guy made linux commands extra fun.

  • @kerijan2003
    @kerijan2003 Před 2 lety

    I, like yourself, love working at the terminal. For me, I installed yakuake (this is for KDE, and there are versions for some of the other DE's), a drop-down style of terminal influenced by Quake's drop-down terminal. I found it more practical for my style of workflow.

  • @xXskellingtonXP
    @xXskellingtonXP Před 2 lety +2

    This man gets me so motivated

  • @jasonkfm
    @jasonkfm Před rokem

    The ultimate Linux training! Thanks, Chuck!

  • @kangmf
    @kangmf Před 2 lety

    Thank you for all the Linux videos. You got me leaning and laughing at the same time. I am so grateful to you.

  • @PoPo-sj4vj
    @PoPo-sj4vj Před 2 lety +1

    Love from india....😍😍😍😍best tech teacher ....always interested to learn from you sir

  • @bachners
    @bachners Před 2 lety

    Chuckk Man i absolutley enjoy every one of your videos !!!!

  • @vivekchoudhary8745
    @vivekchoudhary8745 Před 2 lety

    I always wondered what:
    fg 1 + enter + enter, meant whenever I wanted to get a tty reverse shell, now I get it, thanks man.

  • @phevos_sk
    @phevos_sk Před 8 měsíci

    this was so fun! thank you for making learning linux a fun process!

  • @cultist7931
    @cultist7931 Před 9 měsíci

    such a great teacher :DD
    thank you, chuck!

  • @mfawzi89
    @mfawzi89 Před 2 lety

    I really learned a lot from these series 👍🏻

  • @alejandrozavala6658
    @alejandrozavala6658 Před 2 lety +1

    im working as cloud security, this video help me to much in my learning process, regards from Mexico

  • @vidhuran4414
    @vidhuran4414 Před 2 lety

    I don't know how to thank you ; thank you for the energy !

  • @skunkisland8097
    @skunkisland8097 Před 2 lety

    Luv Network Chuck. Funny dude. Reminds me of myself right after smoking a joint lol. Thanks for the laughs and the learns bro

  • @santoshrajput5126
    @santoshrajput5126 Před 2 lety

    I love this guy , he is an awesome teacher !

  • @zacktim3056
    @zacktim3056 Před rokem

    Excellent as always ☺️

  • @markbenson488
    @markbenson488 Před 2 lety

    Awesome lab and video chuck, thank you 😊

    • @CTOLARSSON-hk4bp
      @CTOLARSSON-hk4bp Před 2 lety

      Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰

  • @NghiaTran-er5mp
    @NghiaTran-er5mp Před 2 lety

    Best teacher ! Keep up the good work man !

  • @zahidjaan1319
    @zahidjaan1319 Před rokem

    Thank U NetworkChuck !

  • @user-ju1co7wu9b
    @user-ju1co7wu9b Před rokem

    Thank you for the video.👊

  • @R0ckpaperMsiza
    @R0ckpaperMsiza Před 2 lety

    Awesome episode. Super useful. Thanks, Chuck

    • @CTOLARSSON-hk4bp
      @CTOLARSSON-hk4bp Před 2 lety

      Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰

  • @NetworkChuck
    @NetworkChuck  Před 2 lety +53

    Access your FREE Linux lab here: ntck.co/htbacad (HTB Academy)
    Welcome to episode 7 of the Linux for Hackers series. In this episode, NetworkChuck takes you on a journey of how to manage processes in Linux. He covers everything from how to find processes, put them in the foreground and background, and even how to KILL processes!!
    Checkout HTB:
    -HTB: ntck.co/htb
    -HTB Academy: ntck.co/htbacad
    🔥🔥Join the NetworkChuck membership: ntck.co/Premium
    **Sponsored by Hack The Box
    0:00 ⏩ Intro
    1:49 ⏩ Access your FREE Linux Lab
    2:23 ⏩ recap: What is a Linux Process?
    2:54 ⏩ the PS command (diving deeper)
    4:40 ⏩ how to KILL a Linux Process
    5:40 ⏩ find a process id by name (pgrep)
    6:28 ⏩ ps….let’s talk more about it
    8:00 ⏩ how to monitor Linux processes (top and htop)
    9:01 ⏩ background and foreground processes
    15:02 ⏩ the KILL command (deep dive)

    • @ShivanMahadeo
      @ShivanMahadeo Před 2 lety

      Thank for always teaching me new skills. Its means the entire world to me when I watch your videos.

    • @ntangjuache2432
      @ntangjuache2432 Před 2 lety

      Really need your help

    • @ntangjuache2432
      @ntangjuache2432 Před 2 lety

      I need help with creating and application within 2days 🙄😔

    • @choledocholithiasis
      @choledocholithiasis Před 2 lety +1

      @@ntangjuache2432 what programming language are you using? What IDE are you using? And what is it you need help with?

    • @DCR600
      @DCR600 Před 2 lety +1

      Chuck about log4j pleaseee

  • @user-ju1co7wu9b
    @user-ju1co7wu9b Před rokem

    Thank you for the video!

  • @davewilliams9774
    @davewilliams9774 Před 2 lety +1

    Another great educational video.

  • @soufianta8374
    @soufianta8374 Před 8 dny

    Hi Chuck, at 7:46 you're telling us that "firefox" is still alive but in reality, the process you're seeing (9147) is your grep command/process (grepping firefox) run just before :). Anyway, great content and keep going.

  • @polgzz
    @polgzz Před 2 lety

    20:17 Triple kill 🤣🤣🤣🤣🤣 some quake throwback there 😁

  • @tomcat-f15
    @tomcat-f15 Před 2 lety

    chuck you never failed to motivate me ........ i am so interested in those stuff thanks

    • @CTOLARSSON-hk4bp
      @CTOLARSSON-hk4bp Před 2 lety

      Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰

  • @MAX-nv6yj
    @MAX-nv6yj Před 2 lety

    amazing and important content as usual

  • @javielucho06
    @javielucho06 Před rokem +1

    ¡Este tipo es lo máximo! 😎

  • @emilianomartinez33686

    The Chemex has been one of the best parts of the video. He knows about specialty coffee, it's perfect.

  • @tauruscolvin
    @tauruscolvin Před rokem

    The caffeinated Bob Ross of Linux 😂 - really enjoyable ❤

  • @seths1997
    @seths1997 Před 2 lety

    good video for beginners. the only exception with -9 is that it will not kill a process stuck in i/o wait (process status of D). saw that issue years ago in RHEL when df wouldn't die because of a stale nfs mount. the only way to get around that is to lazily umount (umount -l) then df should respond

  • @thebikecrafter8128
    @thebikecrafter8128 Před měsícem

    0:53
    quick tip to oopen task manager
    CTRL + SHIFT +ESC

  • @skandamp7089
    @skandamp7089 Před 2 lety +2

    Dude I just love your content ❤️❤️

    • @CTOLARSSON-hk4bp
      @CTOLARSSON-hk4bp Před 2 lety

      Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰

  • @MerkDolf
    @MerkDolf Před 2 lety

    Whenever I hear the sponsors name I don't know why but "hack the planet" comes to mind!

  • @VincentVonDudler
    @VincentVonDudler Před 5 měsíci

    Fantastic video.

  • @SM-wc2tf
    @SM-wc2tf Před 2 lety

    You are best I can't wait to see you make videos ☺️

  • @samsepi0l227
    @samsepi0l227 Před 2 lety

    i needed this!!!!!!!!!

  • @Asherstitusworld
    @Asherstitusworld Před 2 lety +1

    Super Video Chuck Your videos are awesome And Informative

  • @pavan13
    @pavan13 Před 2 lety

    Seriously your voice is deep and amazing

  • @orgesnaci5895
    @orgesnaci5895 Před 2 lety

    Love that "The Witcher 3" icon on your desktop ;)

  • @AdamBingley
    @AdamBingley Před 2 lety

    Great video, it would be great if you could do a video on managing multiple Linux distributions at once?
    Maybe using Uyuni?
    This is a really pain in the real world without very manual intervention, especially if you have lots of different versions of Linux in your environment.

  • @kimthomaswroldsen7708

    It looks like you hacked "boring" and made it "funny" and educational efficient,. Thanks, I'm great full !

  • @jasongreenwood3260
    @jasongreenwood3260 Před 2 lety

    Good explanations.... I learned a lot!

  • @melnikovjnr
    @melnikovjnr Před 2 lety

    Great stuff!!

  • @giladorfman5627
    @giladorfman5627 Před rokem

    He said "what just happened? And zoomed in" Can't breathe 🤣🤣

  • @rajibali4643
    @rajibali4643 Před 2 lety

    your are the good teacher i love your taking style

  • @vaisakhkm783
    @vaisakhkm783 Před 2 lety

    Kill -9 Tea.....
    Looking forwards on this amazing series

  • @adirajbiswas9609
    @adirajbiswas9609 Před 2 lety

    Plz make a video on wifi hacking with Kali WSL
    Wireless interfaces are not recognised in Kali GUI
    I love your videos. Got to learn so much from this type of short informative videos. Thanks in advance

  • @azatecas
    @azatecas Před 2 lety

    man im eo glad i found your channel

  • @kroeti1979
    @kroeti1979 Před 2 lety

    You Rock! Greetings from Germany! Have some nice Holidays. Yeah :-)

  • @shalom2552
    @shalom2552 Před 2 lety +1

    I'm watching almost all of your videos (and love your content!!) But never understood your thing with coffee ☕

  • @y0ss0x89
    @y0ss0x89 Před 2 lety

    the best way for teaching keep going

  • @user-vl8yw3ix5h
    @user-vl8yw3ix5h Před 9 měsíci

    Inspired for Coffee > drank alot > and engaged in study till late night >>> true legend

  • @raBLar
    @raBLar Před rokem

    His smile while kill is priceless.

  • @josehernandez2638
    @josehernandez2638 Před 2 lety

    wow. I had a job interview yesterday... this video wouldve come in handy...

  • @guilherme5094
    @guilherme5094 Před 2 lety

    Thanks Chuck.

  • @youtubeshorts5092
    @youtubeshorts5092 Před 2 lety

    amazing 🖤🖤

  • @mikeromero4162
    @mikeromero4162 Před 2 lety

    Got it. Thanks. Merry xmas && happy new year !

    • @CTOLARSSON-hk4bp
      @CTOLARSSON-hk4bp Před 2 lety

      Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰

    • @mikeromero4162
      @mikeromero4162 Před 2 lety

      @@CTOLARSSON-hk4bp chuk, wait... my crazy aunt has my cel in his texas-massacre-clinic. Going out finally in february. Already talk to human rights. Reparation costs will be pay. 3rd week of january send u message. How much are u minning per month?

  • @vickyvignesh5152
    @vickyvignesh5152 Před 2 lety

    Need more videos about this topic Linux for hackers.

  • @oktayx189
    @oktayx189 Před 2 lety +2

    At 7:45 firefox is NOT still running. grep just filtered the string firefox in the command you just ran. If you pay attention the process it returned is 'grep', not 'firefox'. This is why you use pgrep in the first place. Because grep also greps itself.

    • @polgzz
      @polgzz Před 2 lety

      🧐 nice point

  • @Amozeshshabake
    @Amozeshshabake Před rokem

    thank you network chuck

  • @Pepin3023
    @Pepin3023 Před 8 měsíci

    Hello Chuck With kill -9 The process is killed. But I just wondered what the difference between kill -15 and kill -19 ? Anyway i've learned a lot. Thanks for these great videos. You're a great teacher. Thank you so much from France ♥♥♥

  • @drewzilla1263
    @drewzilla1263 Před 2 lety

    new video yay!!

  • @RomanTruman
    @RomanTruman Před 2 lety

    It was really fun

  • @Justanotheraccnt
    @Justanotheraccnt Před 2 lety

    Lmao 4:49 "How do you kill a process that is being a ...jerk. That pause said it all. I Love your videos man!!

  • @movierealiser7109
    @movierealiser7109 Před 2 lety

    Bug fan sir......
    Love u and your coffee...❤️❤️❤️❤️❤️❤️
    Love from BD❣️❣️❣️

  • @Amozeshshabake
    @Amozeshshabake Před rokem

    amazing i love it

  • @amethyst_academy
    @amethyst_academy Před 2 lety

    Love it man!

    • @CTOLARSSON-hk4bp
      @CTOLARSSON-hk4bp Před 2 lety

      Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰

    • @amethyst_academy
      @amethyst_academy Před 2 lety

      @@CTOLARSSON-hk4bp why are you impersonation @networkchuck

  • @waseemhacks707
    @waseemhacks707 Před 2 lety

    Just Completed lab 6 with practicals and started lab 7 awaiting for 8th episode please upload it

  • @pz48hce20
    @pz48hce20 Před 2 lety +7

    Sir please continue python episode's 🙏🙏