commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
How to force a userid to log out of a Linux host, by killing all processes owned by the user, including login shells:
There are 2 alternatives - vote for the best!
to be executed from root. this works well on most commercial unix systems, have not tried on linux systems.
Its just shorter. Does the same thing though
If you can do better, submit your command here.
You must be signed in to comment.