How to kill all process of particular user.
pgrep -u username | xargs kill -9
su – username -c “kill -9 -1”
How to kill all java process.
ps -ef | grep java | grep -v grep | awk ‘{print $2}’ | xargs kill -9
pgrep chrome | xargs kill -9
2191 Total Views 1 Views Today
related posts
« How to take Mysql database backup and restore Verify zip file in Linux »