Linux commands you NEED TO KNOW. FZF and kill #coding #linuxcommands #linux

preview_player
Показать описание

This is how you kill a linux process, the easy way.
Рекомендации по теме
Комментарии
Автор

pkill-f <name>

Why go the hard way…

chrisbogausch
Автор

Neat, I need to give 'fzf' some consideration. Until then, I'd probably stick to 'pgrep' / 'pkill' for this specific use case.

nihil
Автор

I would avoid Kill -9 as the first signal sent to a process. Recommend kill HUP and TERM first since there's a chance the process could clean up before exiting. Kill -9 never cleans up so should be the last resort

ksbs
Автор

Never knew this existed. Thanks for sharing! Super useful!!

therealslimaddy
Автор

seems like htop+filter(f4 within htop)

akirafurude
Автор

Nice, been using CLI for years and understanding this is a gift, thank you nerd 👍

MiltonSanchez-bxne
Автор

pkill would do that just fine. Also try not to kill a process with -9 unless it was unresponsive.

mhd
Автор

With Fish you can do kill -9 then hit Shift + Tab which does much the same thing but without fzf.

willadams
Автор

Congratulations, you've just earned the Useless Use of Kill -9 Award.

TheLukasz
Автор

What about killall? Fzf is nice, btw, thanks

LuisCardozoC
Автор

Does tmux require some extra config for this work or is it my setup that behaving weird? I'm getting the correct behaviour in my command line when not in a tmux session. **<tab> and an fzf search opens. But then in tmux the same thing just auto completes to all the files in the current dir.

yvescb
Автор

I absolutely love your nerd shorts. They’re brilliantly done

robertsimmons
Автор

For once, a terminal tip that really speeds up my day. Thanks! I need to figure this out.

James-lsk
Автор

thanks for the fzf tip, why not use : killall puma ?

scottb
Автор

pgrep <name> to list the id or pkill <name> to kill the process

DelkorYT
Автор

wow that's a great one, didn't know fzf could do that 🤯

filipebraganca
Автор

fzf and jq are two tools that I need to learn. Those are awesome.

FilipeAguiarCarvalho
Автор

Why use fzf? The command killall <process> does the exact same thing with no configuration needed.

aronhidvegi
Автор

Wow I love your content ❤. This is so genius 🎉! Thank you so much for your great tips and all the terminal inspiration

LukasRotermund
Автор

Using fish is way easier to find just write :
kill name+TAB

kabab-case