{"id":76475,"date":"2024-12-08T02:15:53","date_gmt":"2024-12-08T02:15:53","guid":{"rendered":"http:\/\/bangla.sitestree.com\/?p=76475"},"modified":"2024-12-25T03:19:28","modified_gmt":"2024-12-25T03:19:28","slug":"terminating-process-in-linux","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=76475","title":{"rendered":"Terminating Process in Linux"},"content":{"rendered":"\n<p>Kill a Process<\/p>\n\n\n\n<p>\u2022kill PID<\/p>\n\n\n\n<p>\u2022kill -SIGNAL PID<\/p>\n\n\n\n<p>\u2022Kill \u2013s 9 pid<\/p>\n\n\n\n<p>\u2022Kill -9 pid<\/p>\n\n\n\n<p>\u2022kill -15 PID<\/p>\n\n\n\n<p>\u2022<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kill a Process \u2022kill PID \u2022kill -SIGNAL PID \u2022Kill \u2013s 9 pid \u2022Kill -9 pid \u2022kill -15 PID \u2022<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1,1231],"tags":[],"class_list":["post-76475","post","type-post","status-publish","format-standard","hentry","category-root","category-----linux-and-unix","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":23144,"url":"http:\/\/bangla.sitestree.com\/?p=23144","url_meta":{"origin":76475,"position":0},"title":"Misc Simple IT Issues. Apache does not start #Root #By Sayed Ahmed","author":"Author-Check- Article-or-Video","date":"March 25, 2021","format":false,"excerpt":"Apache does not start. Informs blocked. Informs port already used. --fuser 80\/tcp will give you the PID of the process that takes port 80 --netstat can also give you PID information $ sudo netstat -nlp | grep 80 tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 125004\/nginx --kill the process: kill -9\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9598,"url":"http:\/\/bangla.sitestree.com\/?p=9598","url_meta":{"origin":76475,"position":1},"title":"\u0987\u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u09aa\u09cd\u09b0\u09b8\u09c7\u09b8 \u09ae\u09cd\u09af\u09be\u09a8\u09c7\u099c\u09ae\u09c7\u09a8\u09cd\u099f (Unix &#8211; Processes Management)","author":"Author-Check- Article-or-Video","date":"July 1, 2015","format":false,"excerpt":"\u09b0\u09bf\u09a6\u0993\u09df\u09be\u09a8 \u09ac\u09bf\u09a8 \u09b6\u09be\u09ae\u09c0\u09ae \u00a0 \u0987\u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u09b8\u09bf\u09b8\u09cd\u099f\u09c7\u09ae\u09c7 \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae \u09b0\u09be\u09a8 \u0995\u09b0\u09be\u09a8\u09cb\u09b0 \u09b8\u09ae\u09df \u09b8\u09bf\u09b8\u09cd\u099f\u09c7\u09ae \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09c7\u09b0 \u0989\u09aa\u09af\u09c1\u0995\u09cd\u09a4 \u09aa\u09b0\u09bf\u09ac\u09c7\u09b6 \u09a4\u09c8\u09b0\u09bf \u0995\u09b0\u09c7 \u09a8\u09c7\u09df\u0964 \u0985\u09aa\u09be\u09b0\u09c7\u099f\u09bf\u0982 \u09b8\u09bf\u09b8\u09cd\u099f\u09c7\u09ae pid \u09ac\u09be \u09aa\u09cd\u09b0\u09b8\u09c7\u09b8 \u0986\u0987\u09a1\u09bf \u09a6\u09cd\u09ac\u09be\u09b0\u09be \u09aa\u09cd\u09b0\u09b8\u09c7\u09b8\u0995\u09c7 \u099f\u09cd\u09b0\u09cd\u09af\u09be\u0995 \u0995\u09b0\u09c7\u0964 \u00a0 \u09aa\u09cd\u09b0\u09b8\u09c7\u09b8 \u09b6\u09c1\u09b0\u09c1 \u0995\u09b0\u09be \u09aa\u09cd\u09b0\u09b8\u09c7\u09b8 \u09b6\u09c1\u09b0\u09c1 \u09ac\u09be \u09b0\u09be\u09a8 \u0995\u09b0\u09be\u09a8\u09cb\u09b0 \u09b8\u09ae\u09df \u09a6\u09c1\u0987 \u09ad\u09be\u09ac\u09c7 \u0986\u09ae\u09b0\u09be \u098f\u099f\u09bf \u0995\u09b0\u09a4\u09c7 \u09aa\u09be\u09b0\u09bf, \u09ab\u09cb\u09b0\u0997\u09cd\u09b0\u09be\u0989\u09a8\u09cd\u09a1 \u09aa\u09cd\u09b0\u0995\u09cd\u09b0\u09bf\u09df\u09be\u09df \u0993 \u09ac\u09cd\u09af\u09be\u0995\u0997\u09cd\u09b0\u09be\u0989\u09a8\u09cd\u09a1 \u09aa\u09cd\u09b0\u0995\u09cd\u09b0\u09bf\u09df\u09be\u09df \u00a0 \u09ab\u09cb\u09b0\u0997\u09cd\u09b0\u09be\u0989\u09a8\u09cd\u09a1\u2026","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9662,"url":"http:\/\/bangla.sitestree.com\/?p=9662","url_meta":{"origin":76475,"position":2},"title":"\u0987\u0989\u09a8\u09bf\u0995\u09cd\u09b8\u0983 \u09b8\u09bf\u0997\u09a8\u09cd\u09af\u09be\u09b2 \u0993 \u099f\u09cd\u09b0\u09cd\u09af\u09be\u09aa (Unix &#8211; Signals and Traps)","author":"Author-Check- Article-or-Video","date":"July 11, 2015","format":false,"excerpt":"\u09b0\u09bf\u09a6\u0993\u09df\u09be\u09a8 \u09ac\u09bf\u09a8 \u09b6\u09be\u09ae\u09c0\u09ae \u00a0 \u09b8\u09bf\u0997\u09a8\u09cd\u09af\u09be\u09b2 \u09b9\u09b2 \u09b8\u09ab\u099f\u0993\u09df\u09be\u09b0\u09c7\u09b0 \u09b8\u0982\u0995\u09c7\u09a4 \u09af\u09be \u09a8\u09bf\u09b0\u09cd\u09a6\u09c7\u09b6 \u0995\u09b0\u09c7, \u09b2\u0995\u09cd\u09b7\u09cd\u09af \u0995\u09b0\u09be\u09b0 \u09ae\u09a4 \u0995\u09bf\u099b\u09c1 \u0998\u099f\u09c7\u099b\u09c7\u0964 \u098f\u099f\u09bf \u09af\u09c7\u0995\u09cb\u09a8\u09cb \u09b0\u0995\u09ae\u09c7\u09b0, \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0\u0995\u09be\u09b0\u09c0\u09b0 \u0995\u09cb\u09a8\u0993 \u099a\u09be\u09b9\u09bf\u09a6\u09be \u09a5\u09c7\u0995\u09c7 \u09b6\u09c1\u09b0\u09c1 \u0995\u09b0\u09c7 \u09ae\u09c7\u09ae\u09cb\u09b0\u09bf\u09b0 \u0985\u09a8\u09c1\u09ae\u09cb\u09a6\u09bf\u09a4 \u09aa\u09cd\u09b0\u09ac\u09c7\u09b6\u09af\u09cb\u0997\u09cd\u09af\u09a4\u09be \u09b8\u0982\u0995\u09cd\u09b0\u09be\u09a8\u09cd\u09a4, \u0995\u09cb\u09a8\u0993 \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae \u099a\u09be\u09b9\u09bf\u09a6\u09be \u09aa\u09c2\u09b0\u09a3\u09c7 \u09b8\u0995\u09cd\u09b7\u09ae \u09a8\u09df \u098f\u09ae\u09a8 \u09af\u09c7\u0995\u09cb\u09a8\u09cb \u0995\u09be\u09b0\u09a3\u09c7 \u09b8\u09bf\u0997\u09a8\u09cd\u09af\u09be\u09b2 \u09a6\u09c7\u0996\u09be\u09a8\u09cb \u09b9\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7\u0964 \u098f\u09ae\u09a8 \u0995\u09df\u09c7\u0995\u099f\u09bf \u0995\u09ae\u09a8 \u09b8\u09bf\u0997\u09a8\u09cd\u09af\u09be\u09b2 \u09af\u09be \u0986\u09ae\u09b0\u09be \u09b8\u099a\u09b0\u09be\u099a\u09b0 \u09a6\u09c7\u0996\u09bf\u2026","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65722,"url":"http:\/\/bangla.sitestree.com\/?p=65722","url_meta":{"origin":76475,"position":3},"title":"Topic 1: Basic Date Displaying Shell Script #Linux\/Unix: Shell Programming &#8211; 001","author":"Author-Check- Article-or-Video","date":"July 12, 2021","format":false,"excerpt":"bash-3.2$ cat echoscript1.sh #!\/bin\/sh #clear echo \"SCRIPT BEGINS\" echo \"Hello $LOGNAME\" echo echo \"Todays date is: c\" date '+%m\/%d\/%y' echo \"and the current time is: c\" date '+%H:%M:%S%n' echo \"Now a list of the processes in the current shell\" ps echo \"SCRIPT FINISHED!!\" bash-3.2$ .\/echoscript1.sh SCRIPT BEGINS Hello shell Todays\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65724,"url":"http:\/\/bangla.sitestree.com\/?p=65724","url_meta":{"origin":76475,"position":4},"title":"Korn Shell Example: Show Dates #Linux\/Unix: Shell Programming &#8211; 001","author":"Author-Check- Article-or-Video","date":"July 12, 2021","format":false,"excerpt":"bash-3.2$ cat echoscript2.ksh #!\/bin\/ksh #clear print \"SCRIPT BEGINS\" print \"Hello $LOGNAME\" print print -n \"Todays date is: \" date '+%m\/%d\/%y' print -n \"and the current time is: \" date '+%H:%M:%S%n' print \"Now a list of the processes in the current shell\" ps print \"SCRIPT FINISHED!!\" bash-3.2$ .\/echoscript2.ksh SCRIPT BEGINS Hello\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65685,"url":"http:\/\/bangla.sitestree.com\/?p=65685","url_meta":{"origin":76475,"position":5},"title":"A Basic Shell Program #Linux\/Unix: Shell Programming &#8211; 001","author":"Author-Check- Article-or-Video","date":"July 11, 2021","format":false,"excerpt":"#!\/bin\/sh #if enabled - will spit out the script to the screen #set -v #clear the screen clear echo \"SCRIPT BEGINS\" #shows current login name echo \"Hello $LOGNAME\" #shows current date in the same line echo \"Todays date is: c\" date +%m\/%d\/%y #shows current time in the same line echo\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=76475"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76475\/revisions"}],"predecessor-version":[{"id":76476,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76475\/revisions\/76476"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=76475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=76475"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=76475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}