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 3970X@Auto 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: Asus TUF AMD RX 6900XT OC 16 gigs
    Hard Drives: 1 Crucial 256gig M550, 2 Crucial 2TB SSD's,
    1 WD 10TB 256meg cache, 1 WD 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.
      December 9, 2017 11:11 AM PST
    0