Hide

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again.

Delete that bloated snippets file you've been using and share your personal repository with the world. 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.


Get involved!

You can sign-in using OpenID credentials, or register a traditional username and password.

First-time OpenID users will be automatically assigned a username which can be changed after signing in.

Universal configuration monitoring and system of record for IT.
Hide

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:

Hide

News

May 19, 2015 - A Look At The New Commandlinefu
I've put together a short writeup on what kind of newness you can expect from the next iteration of clfu. Check it out here.
March 2, 2015 - New Management
I'm Jon, I'll be maintaining and improving clfu. Thanks to David for building such a great resource!
Hide

Top Tags

Hide

Functions

Psst. Open beta.

Wow, didn't really expect you to read this far down. The latest iteration of the site is in open beta. It's a gentle open beta-- not in prime-time just yet. It's being hosted over at UpGuard (link) and you are more than welcome to give it a shot. Couple things:

  • » The open beta is running a copy of the database that will not carry over to the final version. Don't post anything you don't mind losing.
  • » If you wish to use your user account, you will probably need to reset your password.
Your feedback is appreciated via the form on the beta page. Thanks! -Jon & CLFU Team

Stop or Start (Restart) a Windows service from a Linux machine

Terminal - Stop or Start (Restart) a Windows service from a Linux machine
net rpc -I ADDRESS -U USERNAME%PASSWORD service {stop|start} SVCNAME
2010-06-29 17:12:36
User: f0rk
4
Stop or Start (Restart) a Windows service from a Linux machine

Control (stop, start, restart) a Windows Service from a Linux machine which has the `net` command (provided by samba).

Alternatives

There are 2 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

Marvelous! Great post!

Comment by barrytrujillo 342 weeks and 3 days ago

Is it possible to enable/disable services using similar syntax? I don't know much about Linux commands but this is definitely helpful.

Comment by protix 342 weeks and 3 days ago

It says failed to start service, but it does start the service

Comment by hkbruvold 340 weeks and 3 days ago

This is handy when the service in question is already enabled on the windows machine.

Any idea of how to Enable a Disabled Service so you *can* start it?

Comment by ShadowCat8 275 weeks and 1 day ago
net rpc service list -I <ADDRESS> -U <USERNAME%PASSWORD>

Get a list of running services

Comment by yellowspaced 119 weeks and 4 days ago

Outfits professional The nike jordan KORS (KORS) possesses received the equine : any specially beneficial firm by having a well-liked brand name. Nonetheless particular capitalists basically must problem usually the supervision group.Nowadays, numerous manufacturers generate bogus artist products. They will replicate the form and design regarding authentic builder purses and handbags, clothing, skinny jeans, as well as add-ons. They normally use cost effective along with regular products to breed programmer labels. Quite often, an artificial product is undistinguishable coming from a traditional one particular. Many designers have got been successful inside generating reproductions of thousand-dollar apparel and also add-ons.Settlements have truly removed returning to between the You actually.Utes. Tn post office and also the New york Split to train, in a very offer that could surely alter the Peck Slip Article Office within Decrease Long island into a 400-seat class college. The blog publish place of work formerly acquired with speaks along with city government bodies to promote the property this particular earlier the summer months, soon after putting the 70,800-square-foot structure with 1 Peck Ease among Pearl and Mineral water roadways for the marketplace in the year time of year. Nonetheless measures deadlocked plus the recommended selling, which usually representatives maintain could support reduce Decreased Manhattan's crammed agencies, seemed inside risk.People similar to The actor-brad pitt take pleasure in his or her He Honda sunglasses. Mary Toyota is often a primary sunglasses name brand and is also understood for the unrivaled and enhanced styles. The manufacturer incorporates a stunning assortment for any kind of kind of style of teenager kid in which desires to uncover upward just like his / her valuable celeb. Johnny Depp is undoubtedly an further type of a star that will suches while impressive sunglasses. His preferred brand is Ray-Ban, and that is comprehended for the far better merchandise as well as exceptional brand name acknowledgement. For upwards of 8 several years, Ray-Ban offers the fact is been recently a popular brand name tag among individualities. Hence, pertaining to teen young boys, working together with Ray-Bans assistances in order to connect top-notch and design.After you are certain that this web site is an true just one, anyone most likely can invest in khaki hamilton big logo style logo bag. The site will certainly move those things for free if the necessary pricing is manufactured. You will receive factors punctually. A number of conditions, you can even receive reduced spending using a fortunate time. Following your Handbags Site gets your own dwelling, you could need to hold those since units together with your classy outfits. You make guaranteed to be placed planned on a regular basis.You can also decide to receive these bags which could get been around in the past periods of time and aren't and so favored nowadays. Small business along with suppliers pace these phones shift, so you sales more cheap prices immediately. This can http://www.hermesbeltsbirkinkellybag.co.uk/ be a much better method of individuals who require a bag because of their person utilization rather then these obtaining regarding re-sale considering the fact that beyond year bags cannot supply as rapidly as you like they'd.If a person indicate to acquire affordable Bags, utilize the buying pointers above. Among these does incorporate a fantastic choice of obtaining a replicate rather compared to the real aspect. Even so, if this isn't your thing, the other suggestions are usually useful and will absolutely acquire a bags you favor at a cost you can manage.Micael Kors seemed to be birthed upon Five August 09 about Very long Tropical isle Ny city. They seemed to be called Karl Andersen Junior, referred to as following his daddy Karl Andesen. Their mama remarried while he was 5 and that he seemed to be offered a solution to improve his name. This individual chose to be known as Micheal Donald Kors. Micheal Kors came to be loved ones people name as being a celebrity courtroom about the hit tv series Task Driveway.

Comment by stephanieg915 5 days ago

Installed with ladies present choices from traces for instance Alfred Sang, Contact regarding Green by means of Lacoste, Light red Desserts by Aquolina, Water di Gio by simply Giorgio Armani, DKNY by Donna Karan, Light-weight Glowing blue by Dolce & Gabanna you could potentially find this can be the appropriate surprise for your special female in your lifetime.Haemmer designer watches are carefully designed to ensure that the very best level involving good quality and effectiveness feasible. They're almost unshakable, made out of sturdy chemical substances that will remain underneath the productive life-style of the most extremely casual user.Waterscape Holiday resort, web-sites the modern, 50-story Cassa Motel as well as Dwellings in 66-70 Western side 45th Road in Midtown is definitely suing the constructing organization with regard to $30 zillion, affirming the corporation never acquired insurance policy to cover fails simply by their sub-contractors. Pavarini states, however, that this performed have the insurance policy and also paid out many plenty of dollars inside prices. Throughout August The year 2007, Waterscape dealt with Pavarini to build Cassa, which is set up by simply Assa Attributes. Under the long term contract, Pavarini has been obliged to buy Subguard insurance policy to help risk-free versus likely nonpayment by simply it's sub-contractors.The Philip Coltoff Centre attributes on Sullivan Highway will definitely be going out there, because based on a consentaneous elect the other day through the Mother board regarding Trustees in the Children's Help Tradition. This purchase in the Greenwich Village attributes has been contrary by local community home owners, such as Brooke Guards, besides moms, considered one of who provides really posted in a situation to prevent the university via shutting down. Even though there isn't any proper index however, an earlier estimate highly valued the actual attributes, a single on 219 Sullivan Highway and yet another from 177 Sullivan, being worth in between $20 and $30 million.If you would like style and sophistication in the boot, Wall plug. gets the model in your case. Footwears are thought an item because it helps to conclude some sort of outfits. If you are dressing up http://www.hermesbeltsbirkinkellybag.co.uk/ to visit out and about to the night time or else you are simply loosening up more than a pot of coffee, you'll certainly comprehend the designs of.Haemmer Belgium has in fact designed their own wristwatches with all the individual alleviate under consideration, additionally warranties the speed and similarity of their designer watches. The particular long forgotten indicating regarding "you acquire everything you pay out for" is actually correct while using Haemmer check out. Your time and money within among the that glamorous timepieces will certainly ensure that you possess the finest observe presented, along with plenty of comments on the stylishness for the whiles.Brooklyn Borough Web design manager Marty Markowitz provides basically technically chucked the help driving the suggested "Skyscraper Old District" designation intended for Midtown Brooklyn, with a few modifications. Markowitz explained although surely omit your 75 Livingston Avenue co-op structure with the area, as being the co-op owners possess requested, and also mentioned this individual Would certainly carry on a intended list the conversion process for any part of the Borough Municipal Design, among the safeguarded frameworks in the places method. Area Board 3 has already voted with assistance of the blueprint, which might surely risk-free most of the area's most crucial constructions, consisting of Borough Place.Designer Simon Nassi supplied the previous Midtown office buildings in the Judaism Every day Deliver to some Shedd Angeles-based thing known as NYC Lodgings Thirty three LLC pertaining to $20 1000 in a quick switch once you have the home the identical morning through the long-time managers. Nassi's BCN Improvement got actually ready to create a 108-unit residence for the six-story web page with Forty-five East 33rd Neighborhood referred to as your Workmen's Eliptical design.

Comment by stephanieg915 4 days ago

http://www.canadagoosefemmehomme2016.fr/doudoune-homme-canada-goose-pas-cher_204.html

http://www.canadagoosefemmehomme2016.fr/soldes-canada-goose_137.html

http://www.canadagoosefemmehomme2016.fr/gilets-canada-goose_370.html

http://www.canadagoosefemmehomme2016.fr/prix-d-une-canada-goose-au-canada_175.html

http://www.canadagoosefemmehomme2016.fr/shelburne-canada-goose_418.html

http://www.canadagoosefemmehomme2016.fr/parka-goose-canada_46.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-femme-solde_457.html

http://www.canadagoosefemmehomme2016.fr/manteau-goose-canada-femme_149.html

http://www.canadagoosefemmehomme2016.fr/manteau-hiver-canada-goose_480.html

http://www.canadagoosefemmehomme2016.fr/usine-canada-goose_85.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-bomber-chilliwack_119.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-bleu-electrique_187.html

http://www.canadagoosefemmehomme2016.fr/ou-acheter-canada-goose-en-france_308.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-femme-bleu-marine_151.html

http://www.canadagoosefemmehomme2016.fr/manteau-canada-goose_433.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-sans-manche_325.html

http://www.canadagoosefemmehomme2016.fr/site-canada-goose_352.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-victoria-parka_462.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-noir_45.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-langford_320.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-pour-enfant_217.html

http://www.canadagoosefemmehomme2016.fr/snow-mantra-canada-goose_155.html

http://www.canadagoosefemmehomme2016.fr/vetement-canada-goose_368.html

http://www.canadagoosefemmehomme2016.fr/montebello-parka-canada-goose_287.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-banff_129.html

Comment by sguerra376 2 days ago

http://www.canadagoosefemmehomme2016.fr/canada-goose-homme-pas-cher_440.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-france-boutique_218.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-kingston_424.html

http://www.canadagoosefemmehomme2016.fr/ecusson-canada-goose_168.html

http://www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-chilliwack-femme_473.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-parka-montebello_317.html

http://www.canadagoosefemmehomme2016.fr/ontario-canada-goose_96.html

http://www.canadagoosefemmehomme2016.fr/prix-canada-goose-enfant_75.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-montebello_383.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-parka-expedition-homme_355.html

http://www.canadagoosefemmehomme2016.fr/livigno-canada-goose_72.html

http://www.canadagoosefemmehomme2016.fr/manitoba-canada-goose_482.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-destockage_165.html

http://www.canadagoosefemmehomme2016.fr/goose-canada_169.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-camp-hoody_50.html

http://www.canadagoosefemmehomme2016.fr/boutique-canada-goose-france_117.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-printemps-haussmann_323.html

http://www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-pour-femme_475.html

http://www.canadagoosefemmehomme2016.fr/prix-d-une-doudoune-canada-goose_390.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-payer-en-plusieurs-fois_152.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-solde_55.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-grise_80.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-blanc_171.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-bleu_63.html

http://www.canadagoosefemmehomme2016.fr/veste-de-ski-canada-goose_162.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-homme-prix_329.html

Comment by sguerra376 2 days ago

www.canadagoosefemmehomme2016.fr/manteau-hiver-canada-goose_480.html

www.canadagoosefemmehomme2016.fr/canada-goose-langford_320.html

www.canadagoosefemmehomme2016.fr/canada-goose-paris_394.html

www.canadagoosefemmehomme2016.fr/canada-goose-grise-homme_468.html

www.canadagoosefemmehomme2016.fr/canada-goose-chateau_300.html

www.canadagoosefemmehomme2016.fr/prix-d-une-doudoune-canada-goose_390.html

www.canadagoosefemmehomme2016.fr/revendeur-canada-goose_106.html

www.canadagoosefemmehomme2016.fr/canada-goose-expedition-homme_207.html

www.canadagoosefemmehomme2016.fr/parka-canada-goose-homme_376.html

www.canadagoosefemmehomme2016.fr/canada-goose-promotion-france_98.html

www.canadagoosefemmehomme2016.fr/canada-goose-bordeaux_397.html

www.canadagoosefemmehomme2016.fr/expedition-parka-canada-goose_210.html

www.canadagoosefemmehomme2016.fr/canada-goose-pas-cher-enfant_337.html

www.canadagoosefemmehomme2016.fr/canada-goose-style_105.html

www.canadagoosefemmehomme2016.fr/goose-femme_52.html

www.canadagoosefemmehomme2016.fr/canada-goose-verte_154.html

www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-homme_298.html

www.canadagoosefemmehomme2016.fr/canada-goose-kingston_424.html

www.canadagoosefemmehomme2016.fr/branta-canada-goose_271.html

www.canadagoosefemmehomme2016.fr/point-de-vente-canada-goose_304.html

www.canadagoosefemmehomme2016.fr/canada-goose-femme-rouge_59.html

www.canadagoosefemmehomme2016.fr/canada-goose-pas-cher-france_142.html

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-longue-femme_272.html

Comment by sguerra376 1 day ago

www.canadagoosefemmehomme2016.fr/marque-doudoune-canada-goose_74.html

www.canadagoosefemmehomme2016.fr/canada-goose-ca_288.html

www.canadagoosefemmehomme2016.fr/canada-goose-pour-enfant_217.html

www.canadagoosefemmehomme2016.fr/parka-canada-goose-occasion_186.html

www.canadagoosefemmehomme2016.fr/constable-canada-goose_67.html

www.canadagoosefemmehomme2016.fr/prix-d-une-doudoune-canada-goose_390.html

www.canadagoosefemmehomme2016.fr/canada-goose-kingston_424.html

www.canadagoosefemmehomme2016.fr/parka-expedition-canada-goose_452.html

www.canadagoosefemmehomme2016.fr/manteau-canada-goose-prix_332.html

www.canadagoosefemmehomme2016.fr/expedition-parka-canada-goose_210.html

www.canadagoosefemmehomme2016.fr/canada-goose-graphite_389.html

www.canadagoosefemmehomme2016.fr/canada-goose-expedition-homme_207.html

www.canadagoosefemmehomme2016.fr/canada-goose-femme-noir_48.html

www.canadagoosefemmehomme2016.fr/canada-goose-chateau_300.html

www.canadagoosefemmehomme2016.fr/canada-goose-freestyle_324.html

www.canadagoosefemmehomme2016.fr/parka-canada-goose_120.html

www.canadagoosefemmehomme2016.fr/canada-goose-snow-mantra-parka_479.html

www.canadagoosefemmehomme2016.fr/skreslet-parka-canada-goose_469.html

www.canadagoosefemmehomme2016.fr/canada-goose-fille_319.html

www.canadagoosefemmehomme2016.fr/veste-style-canada-goose_223.html

www.canadagoosefemmehomme2016.fr/canada-goose-chapka_342.html

www.canadagoosefemmehomme2016.fr/canada-goose-chateau-noir_174.html

www.canadagoosefemmehomme2016.fr/canada-goose-canada-prix_284.html

www.canadagoosefemmehomme2016.fr/acheter-canada-goose-paris_406.html

Comment by sguerra376 21 hours ago

Your point of view

You must be signed in to comment.