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:
to be executed from root. this works well on most commercial unix systems, have not tried on linux systems.
There is 1 alternative - vote for the best!
How to force a userid to log out of a Linux host, by killing all processes owned by the user, including login shells:
Its just shorter. Does the same thing though
If you can do better, submit your command here.
You must be signed in to comment.