Forum » The Geeks Corner » Linux » Sudo Commands for Linux » Killing a non-responsive program in Linux

Killing a non-responsive program in Linux

  • Killing a non-responsive program in Linux. :)

    Most know ctrl+alt+delete for Windows will open the task manger.

    In Linux it's still pretty easy and this should work with every flavor of Linux.
    Xubuntu, Ubuntu, Fedora, Mint, Red Hat...

    Open your favorite Terminal Window.
    In the command line type ps -A 
    Hit the enter key that will show you all the things running on your system.
    Then there are two ways to shut it down.
    Look for it's ID "4444"
    In the command line type killall 4444
    Hit the enter key.

    If that doesn't work use this one. I like this on.
    python3 is the name of the running program so it will be what ever you're trying to close.
    gedit, firefox, slimjet...
    In the command line type killall python3 (The name of whatever program you are trying to shut down)
    Hit enter and it will close :)
    My System:
    Case: Thermaltake Core V71 Tempered Glass.
    Motherboard: Asus Prime TRX40-Pro.
    CPU: AMD Threadripper [email protected] OC.
    Water Block: EK Velocity sTR4 copper & nickel.
    Radiator: Thermaltake Pacific CL429 64mm pure copper.
    Water Pump & Res: 320 GPH Pond Pump, 5 Gallon Reservoir.
    Memory: 64 gigs Corsair Vengeance DDR4-3600 18-19-19-39 CR1.
    Video Card: EVGA RTX 2080 TI XC Ultra
    Hard Drives: 1 Crucial 256gig M550, 3 Crucial 2TB SSD's,
    1 Western Digital 5TB 128meg cache, 2 Seagate 4TB 256meg cache.
    Power Supply: Corsair 1050 watt SINGLE RAIL.
    OS's: LINUX Xubuntu 20.04 LTS x64 and Windows 10 Pro 2004.
      December 9, 2017 11:11 AM PST