Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kill nohup process

ps -ef
#you will see the proces now, then 
kill -9 PID

###########################################
if there are so many backgroud process, kill them using follwing script
#!/bin/bash
while :
do
    echo "Press [CTRL+C] to stop.."
    for pid in $(ps -ef | awk '/your process name/ {print $2}'); do kill -9 $pid; done  
    # credit to above answer 
    sleep 1
done
Comment

PREVIOUS NEXT
Code Example
Shell :: centos see user list 
Shell :: install ionic cli globally 
Shell :: ubuntu iptables open ssh output port 
Shell :: run a command x number of times linux 
Shell :: apache2 ubuntu code exited 
Shell :: update font cache linux 
Shell :: apply last stash git 
Shell :: how to check services running on port 8080 in linux 
Shell :: cmd command to install xlrd version 1.2.0 
Shell :: bash get date format 
Shell :: conda command not found linux 
Shell :: clear ubuntu logs 
Shell :: epub reader on ubuntu 
Shell :: abnt linux keyboard 
Shell :: git global gitignore 
Shell :: mamp connect to mysql 
Shell :: Missing essential plugin: org.jetbrains.android 
Shell :: docker ls in dockerfile 
Shell :: install jupyter notebook ubuntu 20.04 
Shell :: install torchtext 
Shell :: how to uninstall everything in pip 
Shell :: set by RBENV_VERSION environment variable 
Shell :: show all running service linux 
Shell :: download spotify ubuntu 
Shell :: apache2 ensite 
Shell :: git merge binary files 
Shell :: sh wait 10 seconds 
Shell :: how to upgrade docker-compose to latest version 
Shell :: vlc download for linux 
Shell :: fix dual boot time ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =