Command to logout all the users in one command

who -u | grep -vE "^root " | kill `awk '{print $6}'`
Only to logout all users except root

1
By: leosimon
2010-11-13 16:51:09

4 Alternatives + Submit Alt

What Others Think

https://myduhomeinternet.com/
catherineharris · 47 weeks and 3 days ago
I really like what Nigel said to Angelia in the film. When your personal life is gone, remember to notify me, it means you are going to be promoted. I very much agree with this sentence, life and work, we choose to work because of life, and work makes us neglect life. When you want to get promoted, you have to sacrifice more of your private time to work. Choice is a very interesting thing, and when you make a choice, it also means that you will lose something very pity. seo consultant [url=https://www.newtopblogger.com/voipphone]virtual phone system service[/url] A very interesting website
newtopblog · 44 weeks and 1 day ago
Life is a journey, you don’t care about the destination, you care about the scenery along the way and the mood of seeing the scenery. what is ecommerce
C07_Terry · 44 weeks and 1 day ago
Students who have lived in these centuries are really blessed. Because they have lots of opportunities for learning and these Oakey Assisted Living kinds of tutorials help them to easily learn any kind of language with expert advice. From here, you can easily learn the command line languages and keep sharing more updates here.
Alyssalauren · 43 weeks and 2 days ago
To love oneself is the beginning of a lifelong romance. https://www.newbestwriter.com
jaffooli · 13 weeks and 1 day ago
To love oneself is the beginning of a lifelong romance. eCommerce directories and sponsored links
jaffooli · 13 weeks and 1 day ago
Buy Champion Shotshell Primer for USD 6.99 CCI #550 Small Magnum Pistol Primers – 1000 Count cci 209m primers for sale (Box of 1,000) CCI 50 BMG Primers #35 Box of 500 (5 Trays of 100) CCI Ammunition 0012 Primers CCI Ammunition 0017 Primers CCI Ammunition 209 In-Line Muzzleloading Primer 2000PC CCI Ammunition 400 Small Rifle Primer CCI Ammunition BR4 1000 Small Rifle Primer CI Large Pistol Magnum Primers #350 Box of 1000 (10 Trays of 100) CCI Large Pistol Primers #300 Box of 1000 (10 Trays of 100) CCI Large Pistol Primers #300 Boxes of 1000 – Blemished CCI Large Rifle 7.62mm NATO-Spec Military Primers #34 Box of 1000 (10 Trays of 100) CCI Large Rifle Bench Rest Primers #BR2 Box of 1000 (10 Trays of 100 CCI Large Rifle Primers #200 Box of 1000 (10 Trays of 100) CCI Small Rifle 5.56mm NATO-Spec Military Primers #41 Box of 1000 (10 Trays of 100) CCI Small Rifle Bench Rest Primers #BR4 Box of 1000 (10 Trays of 100) CCI Small Rifle Magnum Primers #450 Box of 1000 (10 Trays of 100) Federal 209 Shotshell Primer Federal Fusion 209ML Primer 2000 Primers Federal Large Magnum Rifle Primers Federal LG Magazine Pistol Match Primers Federal Premium Gold Medal Small Rifle Match Primers #205M Box of 1000 (10 Trays of 100) Remington EtronX Electronic Primers Box of 1000 (10 Trays of 100) Remington Large Rifle Magnum Primers #9-1/2M Box of 1000 (10 Trays of 100) Remington Primers #209 Muzzleloading Box of 100 Shop products in Primers today Small Pistol Primers Federal 5000Ct Winchester LG PISTOL PRIMER 1M 2400 4lbs – Alliant Powder 2460 1lb – Accurate Powder 2495 1lb – Accurate Powder 2520 1lb – Accurate Powder 2700 Accurate Powder Reloading 8 pounds 4000-MR 1lb – Alliant Powder 4350 1lb – Accurate Powder 760 8lbs – Winchester Powder 800-X 8 lb – Hodgdon Powder Accurate Powder – #4100 1LB Accurate Powder – TCM 1lb Accurate Powder LT-32 Accurate Powder Nitro 100 12oz Accurate Powder XMR-5744 1LB Alliant Pdr – P. Pro 1200-R 1# Alliant Pdr – P. Pro 300-MP 1# Alliant Powder – 20/28 1lb. Alliant Powder – 2400 1lb. Alliant Powder – 2400 8lbs Alliant Powder – 410 GA 1lb Alliant Powder – AR-Comp 8lb. Alliant Powder – Black Dot MZ 1lb Alliant Powder – Blue Dot 8 lbs Alliant Powder – Bullseye 4lbs Alliant Powder – Clay Dot 8lb. Alliant Powder – Ex.-Lite 1 Lb Alliant Powder – Herco 1 LB Alliant Powder – P.Pro Varm. 8 lb. Alliant Powder – Promo 8lbs Alliant Powder – Pwr. Pist 4lb Alliant Powder – Re-16 1lb Alliant Powder – Re-22 reloading 8 pounds. Alliant Powder – Re-33 1lb. Alliant Powder – Re-33 8lb. Alliant Powder – Sport Pistol 1# Alliant Powder – Sport Pistol 1# Alliant Powder – Steel 1lb. Alliant Powder – Unique 8lbs BE-86 8 lbs – Alliant Powder Bullseye 8lbs – Alliant Powder D063-02 Propellant | Shooters World – Smokeless Powders Goex Cannon Black Powder 1 lb Goex Olde Eynsford 3F Black Powder 1 lb Green Dot 8lbs – Alliant Powder Herco 8lbs – Alliant Powder Hodgdon – The Brand That’s True Hodgdon #800X 8 Lb. Keg Hodgdon CFE BLK Powder Hodgdon CFE223 Smokeless Powder 8 Lbs Hodgdon Extreme H4831SC Rifle Powder 8 lbs Hodgdon H335 Powder Hodgdon H380 Smokeless Powder 8 Lbs Hodgdon H4350 Powder Hodgdon H4831 Rifle Powders – 1 lb. Hodgdon Hi-Skor 700-X Smokeless Gun Powder Hodgdon HP38 Powder 8 Pounds Hodgdon International (CLAYS series of powders) (14 oz.) Hodgdon Powder – 800-X 8lb Hodgdon Powder – BLC-2 8lb Hodgdon Powder – H-4350 1Lb. Hodgdon Powder – H1000 8lb Hodgdon Powder Co Inc Rifle Powder Hodgdon Pyrodex RS Black Powder Substitute 1 lb Hodgdon Titegroup Powder 1lb IMR® 4227 | Hodgdon Magpro1lb – Accurate Powder N165 rifle powder – Vihtavuori N540 high energy powder – Vihtavuori N555 high energy powder – Vihtavuori N570 high energy powder – Vihtavuori No. 2 1lb – Accurate Powder No. 7 1lb – Accurate Powder No. 9 1lb – Accurate Powder Ramshot LRT Smokeless Gun Powder 1 lb Ramshot TAC Rifle Powder Re-16 8lbs – Alliant Powder Red Dot 8 lbs – Alliant Powder TITEWAD – Hodgdon VihtaVuori 24N41 Smokeless Rifle Powder 8 Lb Winchester 231 Handgun Powder Winchester 748 Rifle Powder Winchester Powder – 296 4 Lb. Winchester Powder – 296 8Lb.
Ehawayvan · 10 weeks and 2 days ago
It is the intent to provide valuable information and best practices, including an understanding of the regulatory process. ole777 casino
McauleyHanna · 10 weeks ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: