1

I play Skyrim on a Ubuntu 16.04. Every once in a while the game freezes so I searched online for a solution. I discovered the Xkill command from the terminal. When I use this command, Wine won't open any more programs, even those not Skyrim. If you could figure out a solution for this, please answer. Also if you could figure out why my Skyrim keeps freezing I would be very happy.

Twaee
  • 33

1 Answers1

2

The xkill command is a little bit primitive, although sometimes useful.

Much more sophisticated is the pkill command (pkill man page).

For example, shut down all Firefox browser instances can be done with :

pkill firef

(Yes, only the relevant part of the application command is needed)

Shut down all commands running by user Dominico :

sudo pkill -u dominico

Sometimes pkill will not work when an application is called in a script or through an interpreter, e.g. bash or python here. In that case you can consider shutting down the "program helper" which starts the other program.

Note : Beware, using pkill command to kill bash processes would be very counter productive on your local computer as all your login processes might be killed, and it would be much worse on a server!

chaskes
  • 15,536
albert j
  • 1,463