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.
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)
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!! ❤️✌🏻🖖🏻
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.
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.
Thank you for everything you do on educating people. I love your videos so happy RUclips 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.
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!
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.
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!
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.
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.
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
In Windows: 1. *Ctrl+Alt+Delete* launches _full-screen menu_ which _includes_ Task Manager in the menu-items. 2. *Ctrl+Shift+Esc* _launches Task Manager._ Or, if Task Manager is already open, _quits Task Manager._ 🌠The more you know. 🙂
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 ♥♥♥
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
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.
@7:40 not sure if someone already pointed it out. But it's actually showing you the grep command process, not firefox. if you type ps -aux | grep type_anything_here
subbed in the first video of the series, i wish you had tutorials for everything i am curious about, Figma, UX, Devops, JS, TS, CSS, Python, photoshop, logo design, branding etc lol very good explanations, simplifications abstractions etc thumbs up, it was so fun to watch every video. I lost when you said SIGTERM is kinda suggestion PLEASE DIE, PROCESS?
Are you going to IT or hacking? If hacking start with pen testing and take courses in ethical hacking since pen testing doesn't cover everything in hacking
OMG Chuck i just discovered your channel and I am so happy I did ! I am making career change from the hospitality industry ( restaurant ) to IT. Your channel is going to help me very much ! You are amazing !!!!!!!
This guy makes everything fun
Learn with fun 🤩
Could make a class on watching paint dry and id sign up
please tell me it is real don't burst my bubble @@thisisnotok2100
You can kill using a job number, rather than a process ID with
kill %1 (or whatever job number).
I was thinking the same thing while watching this.
So "kill -9 %1"?
Always been confused about killing processes and never bothered learning why -9 always works. Now I know. Thanks 👍
Same here
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.
Just keep it killing processes and not humans and you'll be just fine.
Chuck you are the Perfect IT teacher I was looking for Super easy and Great Explanations Thanks ♥️♥️
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)
Thank for always teaching me new skills. Its means the entire world to me when I watch your videos.
Really need your help
I need help with creating and application within 2days 🙄😔
@@ntangjuache2432 what programming language are you using? What IDE are you using? And what is it you need help with?
Chuck about log4j pleaseee
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!! ❤️✌🏻🖖🏻
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.
0:53
quick tip to oopen task manager
CTRL + SHIFT +ESC
You are a great teacher Chuck❤️❤️
Let's just take a moment and appreciate the way this guy made linux commands extra fun.
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.
Thank you for everything you do on educating people. I love your videos so happy RUclips 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.
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!
Tmux?
"Anyways, that's enough killing for today." - NetworkChuck, 2022
This man gets me so motivated
You’re killing it! Wonderful video, missed you the last couple of weeks! Hope you’re doing well.
That was a "Mortal Bash Kombat"? I felt for the 3 ping jobs... Triple Kill ☠ malevolent laugh 🤣🤣
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.
The Chemex has been one of the best parts of the video. He knows about specialty coffee, it's perfect.
I talked my girlfriend into a ping-job, the results were anti-climactic.
Dude, mostly know this stuff but still watching. It’s so fun to watch! Keep going, your videos are golden.
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!
same as me bro
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.
🧐 nice point
im working as cloud security, this video help me to much in my learning process, regards from Mexico
I'm working on my CCNA. Got a full course and textbooks. Thanks for getting me started, Chuck.
Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰
Love from india....😍😍😍😍best tech teacher ....always interested to learn from you sir
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.
network chuck is a legend - makes learning linux look like fun
Inspired for Coffee > drank alot > and engaged in study till late night >>> true legend
His smile while kill is priceless.
great video! Just binged this whole linux series. Please keep em coming!
Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰
Love his energy🤖...Thanks NetworkChuck, you are Awesome!!!
Dude I just love your content ❤️❤️
Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰
Loved the break down and instruction watched all 7 vids in a row! Thank you for making such educational entertaining vids.
I'm watching almost all of your videos (and love your content!!) But never understood your thing with coffee ☕
same. Coffee is not even that good.
7:45 - The 'firefox process' you see is actually the command line args for the grep command you just typed
Just read about this same topic today while studying for my RHCSA. Great video!
The caffeinated Bob Ross of Linux 😂 - really enjoyable ❤
such a great teacher :DD
thank you, chuck!
Love these videos, and also love this guy. Keep up the good work.
Whenever I hear the sponsors name I don't know why but "hack the planet" comes to mind!
He said "what just happened? And zoomed in" Can't breathe 🤣🤣
Sir please continue python episode's 🙏🙏
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
Luv Network Chuck. Funny dude. Reminds me of myself right after smoking a joint lol. Thanks for the laughs and the learns bro
hey, you don't know me in person but I'll be here and I'm your new student. I have to thank you a lot for the education.
20:17 Triple kill 🤣🤣🤣🤣🤣 some quake throwback there 😁
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)
Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰
It looks like you hacked "boring" and made it "funny" and educational efficient,. Thanks, I'm great full !
In Windows:
1. *Ctrl+Alt+Delete* launches _full-screen menu_ which _includes_ Task Manager in the menu-items.
2. *Ctrl+Shift+Esc* _launches Task Manager._ Or, if Task Manager is already open, _quits Task Manager._
🌠The more you know. 🙂
I was waiting for this for a long time finally got new episode
The ultimate Linux training! Thanks, Chuck!
Thanks, man. You made me really understand with ease most linux concept that looked complex. Thanks so much.
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 ♥♥♥
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
Compliments of the season and good luck to everyone who’s gonna be investing with the compass investors today
I don't know how to thank you ; thank you for the energy !
i like the new edit style
Grate content full of knowledge, can't wait for episode 8
Love that "The Witcher 3" icon on your desktop ;)
Chuckk Man i absolutley enjoy every one of your videos !!!!
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.
this was so fun! thank you for making learning linux a fun process!
finally! looked forward to another linux related vid! thanks
you r amazing ,its more then a teacher its also a friends here
¡Este tipo es lo máximo! 😎
I love you videos Brother!! You are blessed to be able to do them
Another great educational video.
I always wondered what:
fg 1 + enter + enter, meant whenever I wanted to get a tty reverse shell, now I get it, thanks man.
Thank you for all the Linux videos. You got me leaning and laughing at the same time. I am so grateful to you.
Excellent as always ☺️
wow. I had a job interview yesterday... this video wouldve come in handy...
@7:40 not sure if someone already pointed it out. But it's actually showing you the grep command process, not firefox. if you type ps -aux | grep type_anything_here
Lmao 4:49 "How do you kill a process that is being a ...jerk. That pause said it all. I Love your videos man!!
Need more videos about this topic Linux for hackers.
chuck you never failed to motivate me ........ i am so interested in those stuff thanks
Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰
I love this guy , he is an awesome teacher !
Best teacher ! Keep up the good work man !
subbed in the first video of the series, i wish you had tutorials for everything i am curious about, Figma, UX, Devops, JS, TS, CSS, Python, photoshop, logo design, branding etc lol very good explanations, simplifications abstractions etc thumbs up, it was so fun to watch every video. I lost when you said SIGTERM is kinda suggestion PLEASE DIE, PROCESS?
Thank U NetworkChuck !
Super Video Chuck Your videos are awesome And Informative
its been 20 years but kill -9 i still remember ... :)
Fun fact if you say a word over and over again and it loses its meaning its called "Semantic Disassociation"
Seriously your voice is deep and amazing
really chuck..I got in to linux becoz of you..in my Mac M1..im completely running linux now.. :D 😂
Are you going to IT or hacking?
If hacking start with pen testing and take courses in ethical hacking since pen testing doesn't cover everything in hacking
Sigterm kill is like, Voldemort saying "Dieeeeeeeee" to Harry.....
But Harry refused to die...🤣
Another day at Gryfindor. It is magic.
I really learned a lot from these series 👍🏻
Awesome lab and video chuck, thank you 😊
Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰
You Rock! Greetings from Germany! Have some nice Holidays. Yeah :-)
Kill -9 Tea.....
Looking forwards on this amazing series
you are better than most of my professors
the best way for teaching keep going
its like watching tweak from south park as an adult. lol
Why not tea? Tea is good too. Only coffee is bad.
Just Completed lab 6 with practicals and started lab 7 awaiting for 8th episode please upload it
Awesome episode. Super useful. Thanks, Chuck
Send a direct msg right away on what'sapp!!💬 ±¹⁹⁷⁹⁴⁷⁶²⁶³⁰
OMG Chuck i just discovered your channel and I am so happy I did ! I am making career change from the hospitality industry ( restaurant ) to IT. Your channel is going to help me very much ! You are amazing !!!!!!!
OH snap, Network Chuck getting sponsored by Hack The Box!!! Did he just turned SS3?
Tea is alright, when you're tiring to go to relax. You definitely need coffee for IT work.