Python version 3: Serve current directory tree at http://$HOSTNAME:8000/

python -m http.server
In Python version 3, the module was merged into http.server. Gentlemen, change your aliases.
Sample Output
$ python3.1 -m http.server
Serving HTTP on 0.0.0.0 port 8000 ...

36
By: Alanceil
2010-12-17 12:52:45

9 Alternatives + Submit Alt

What Others Think

cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber cfiber fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers fox fiber construfiber fiboverview overview overview steel overview buy polysterfibers cfiber fox fiber construfiber fiboverview overview overview
steelfiber · 48 weeks ago
We are ready to provide the best service for online lottery players at Gotogel.com . From livechat and whatsapp services 24 hours as well as a safe and easy transaction process. To improve the quality of service, we welcome all criticism, suggestions, and input from you. We guarantee 100% confidentiality of your personal data. http://gotogel.net">Gotogel
KayGasaway · 45 weeks and 4 days ago
This live telephone clairvoyance that wants to help you release your immense, unsuspected psychic energy.This clairvoyance by telephone without waiting that we do so that you open up to the world and let the forces of lifeenter you, grow within you . https://voyance-par-telephone-amour.com
KayGasaway · 45 weeks and 3 days ago
This may be a really good hints mainly that will the ones novices at blogosphere, shorter together with complete information… Kudos meant for posting ours. Extremely important look over report. sa gaming
KayGasaway · 45 weeks and 3 days ago
I learn some new stuff from it too, thanks for sharing your information. bitcoin atm Toronto
KayGasaway · 45 weeks and 2 days ago
I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. ???? uwin
KayGasaway · 44 weeks and 3 days ago
Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you. supcaitlin
KayGasaway · 44 weeks and 2 days ago
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. https://www.918kisspg.com
KayGasaway · 44 weeks and 2 days ago
I’m empowered together with the surpassing plus preachy detailing for you to decorate such minimal timing. Sunset cruise tenerife
wenilak444 · 32 weeks and 6 days ago
I have noticed that over the course of making a relationship with real estate managers, you’ll be able to get them to understand that, in most real estate financial transaction, a percentage is paid. Ultimately, FSBO sellers never “save” the percentage. Rather, they try to win the commission simply by doing the agent’s work. In doing this, they spend their money plus time to accomplish, as best they’re able to, the duties of an agent. Those jobs include displaying the home by way of marketing, offering the home to buyers, making a sense of buyer emergency in order to prompt an offer, scheduling home inspections, controlling qualification inspections with the loan provider, supervising maintenance, and aiding the closing. http://sdcc.vn/forum/forum_posts.asp?TID=3738&PID=4983#4983">Discount Budapest sightseeing Tickets
HAMZA · 32 weeks and 3 days ago
Gold is one of the most common things in dreams. Gold, a precious metal, is both an investment tool and a material from which women's favorite accessories can be made. yuxuda sevdiyini gormek
goxah55535 · 31 weeks and 6 days ago
Watch movies - Watch movies ViP Turkish Dubbed Watch Foreign Movies - Watch movies is the ad-free movie viewing site that comes to mind. film izle
goxah55535 · 31 weeks and 6 days ago
A FREE, 100% online ACA solution for Comparing plans, Quoting, and Enrolling your clients. Comprehensive Agency tools to Manage your Book of Business. enrollment software
HAMZA · 31 weeks and 6 days ago
Canoeing and kayaking in Las Vegas will not only give you a relaxing moment, but it will also give you the freedom for other water sports and sightseeing. Best kayaking palma
wenilak444 · 31 weeks and 3 days ago
What your stating is absolutely real. I know that everybody ought to say the identical matter, but I just believe that you position it in a way that just about every individual can comprehend. I also adore the photographs you set in right here. They suit so appropriately with what youre making an attempt to say. Im assured youll reach so numerous persons with what youve acquired to say. http://www.gunrightsmedia.com/showthread.php?532379-Rome-Colosseum-tickets&p=5774510#post5774510">Rome Colosseum tickets
gexeji53 · 30 weeks and 4 days ago
Allianz Packers and Movers Pvt. Ltd. is a leading Packing and Moving Company offers varied packing and moving services such as loading unloading service, door to door packing and moving service, home moving service, office relocation service, house shifting, car & bike transport, cargo, insurance service and packers and movers in India at reasonable prices. Packers and Movers Chennai to Mumbai
lahehan967 · 30 weeks and 4 days ago
Allianz Packers and Movers always care that you do not put off the idea of moving your abode in or out the capital region of the country, only because you worry how you will cope with the stress that follows home and office shifting your belongings or vehicles. packers and movers thoraipakkam
HAMZA · 30 weeks and 4 days ago
Buy Tapentadol 100 Mg Tablet and remove your moderate to severe pain. Aspadol 100mg is best brand. Palexia SR 100 mg Tablet in Australia. Nucynta online. Tapentadol 100 Mg Tablets
HAMZA · 27 weeks ago
Pug Puppies for Sale Near Me pugs puppies for sale teacup pugs for sale pug puppies for sale by owner pug puppies ohio PUG PUPPY FOR SALE NEAR ME PUG PUPPIES FOR SALE pug puppies for sale in kentucky Pug Puppies for Sale Under $500 Near Me pug puppies for sale in texas pug puppies for sale $200 pugs for sale near me under $500 pugs for sale under $400 near me pugs for sale near me puppies for sale near me under $500 pug puppies for sale under $1,000 near me pug for sale pug puppies for sale under $300 Brindle Pug Pitbull Pug Mix Pugs for sale cheap Cheap pug affordable pug puppies for sale near me black pugs for sale near me White Pugs for sale pug dog for sale free pug puppies pug puppies for sale in my area mn pug breeders pug puppies indiana pugs for sale michigan PUG PUPPY ADOPTION Pug puppies for sale Pug puppies for sale near me Pug puppies near me Pug Puppies for Sale Under $500 Near Me Cute Pug Puppies Black pug puppies Black pug puppies for sale pug puppies for adoption black pug puppies for sale near me chihuahua pug mix puppies how much is a pug puppy teacup pug puppies baby pug puppies pictures of pug puppies pug puppies for sale in Ohio pug puppies price pug mix puppies teacup pug puppies for sale best food for pug puppy newborn pug puppies pug puppies craigslist pug puppies for sale craigslist adorable pug puppies how much does a pug puppy cost Pitbull pug mix puppies pug pit mix puppy pug puppies for sale $200 pug puppies for sale in NJ Pug puppies for sale in Wisconsin pug puppy cost pug puppy food royal canin pug puppy royal canin pug puppy food fawn pug puppy pug puppies for sale florida pug puppies for sale in Indiana pug puppies for sale in KY pug puppies for sale in NC pug dog puppy AKC Registered Pug Puppies For sale cheap pug puppies for sale near me cheap pug puppies for sale in California cheap pug puppies for sale in nj Black Pug Puppies for sale pugs puppies for sale
rahimhh21 · 21 weeks and 5 days ago
At Ruggiero Investments, we believe in delivering a Five Star quality service that is authentic, honest, reliable, and exclusive to your financial needs. wealth management firm nyc
rehmanali · 18 weeks and 5 days ago
Coffin nails come in different colors, and these nail shapes prove spectacular. These cute coffin blue nail designs bring a new vibe and suit various occasions this year. The nail designs guarantee a unique nail look while adding to your overall beauty.
cifebob · 16 weeks and 5 days ago
One of the most important commission? miniature painting service ? We paint your models! Scifi, Historical, Starbrush Studio, Warhammer Fantasy.
cifebob · 16 weeks and 4 days ago
This time I spent a few days preparing this Google SEO?? article to share the latest SEO analysis. I hope you can use it or refer to the relevant key points.
fomajob · 16 weeks and 4 days ago
Slot88 adalah situs slot gacor yang mudah banget jackpot dan merupakan salah satu situs slot online yang paling sangat terpercaya sudah lama di Indonesia. slot gacor
STEPHEN007 · 16 weeks and 4 days ago
ACE ???? provides an online game betting platform, which is a legally registered gaming company in Costa Rica, and has obtained the GEOTRUST international certification, which is the most credible. As a professional online gambling game operator, ACE?? prohibits people under the age of 18 from participating in online gambling games, and provides a full range of slot machines, virtual games, and poker games, etc. Ace Entertainment provides customers with a leisure and entertainment platform.Please Click here and visit us in our website https://www.acecasinohk.com/ for more detail.
fomajob · 16 weeks and 4 days ago
Two things in life can irritate us no end. We could safely say one is white hair that requires constant touch-ups; the other would be unwanted hair on any part of the face and body. There are many ways to remove unwanted hair on the body; some are more primitive than others, and some ways are more expensive than others. So which way of laser hair removal is the best? Most worthy of the buck you are spending? laser hair removal
cifebob · 16 weeks and 4 days ago
High quality Custom T-Shirts Oakland service with no setup costs or hidden fees 6 9 Day Turnaround Custom T Shirts, No Minimum Design custom t shirts online or get a quote Fast Turnarounds Based in California.
rehmanali · 16 weeks ago
Tired of wasting your time farming buy world of warcraft mounts Easily get your Favorite Rare wow mounts with us and Expand your Collection!
fomajob · 15 weeks and 5 days ago
Escape Big Tech We build Degoogled Phones Tablets, and provide Computers free from Google, Apple, Microsoft systems Locked down, free from prying eyes.
fomajob · 15 weeks and 4 days ago
Sell Scrap Gold based on live Scrap Gold Prices Get Cash for Gold from a Hatton Garden Metals Buyer Sell Gold Jewellery in London. sell gold
HAMZA · 14 weeks and 2 days ago
Been There is an independent, fee only financial advisor in Ottawa, Ontario We are Financial Planner in Ottawa that do not sell products, just provide advice, have no commissions, Fee Only Financial Planner, and we provide transparent pricing Schedule a free 30 minute meeting with us to get started. Fee Only Financial Planner
HAMZA · 13 weeks and 4 days ago
Pug Puppies for Sale Near Me pugs puppies for sale teacup pugs for sale pug puppies for sale by owner pug puppies ohio PUG PUPPY FOR SALE NEAR ME PUG PUPPIES FOR SALE pug puppies for sale in kentucky Pug Puppies for Sale Under $500 Near Me pug puppies for sale in texas pug puppies for sale $200 pugs for sale near me under $500 pugs for sale under $400 near me pugs for sale near me puppies for sale near me under $500 pug puppies for sale under $1,000 near me pug for sale pug puppies for sale under $300 Brindle Pug Pitbull Pug Mix Pugs for sale cheap Cheap pug affordable pug puppies for sale near me black pugs for sale near me White Pugs for sale pug dog for sale free pug puppies pug puppies for sale in my area mn pug breeders pug puppies indiana pugs for sale michigan PUG PUPPY ADOPTION Pug puppies for sale Pug puppies for sale near me Pug puppies near me Pug Puppies for Sale Under $500 Near Me USA USA USA USA USA USA Cute Pug Puppies Black pug puppies Black pug puppies for sale pug puppies for adoption black pug puppies for sale near me chihuahua pug mix puppies how much is a pug puppy teacup pug puppies baby pug puppies baby pug puppies for sale pictures of pug puppies pug puppies for sale in Ohio pug puppies price pug mix puppies teacup pug puppies for sale best food for pug puppy newborn pug puppies pug puppies craigslist pug puppies for sale craigslist adorable pug puppies how much does a pug puppy cost Pitbull pug mix puppies pug pit mix puppy pug puppies for sale $200 pug puppies for sale in NJ Pug puppies for sale in Wisconsin pug puppy cost pug puppy food royal canin pug puppy royal canin pug puppy food fawn pug puppy pug puppies for sale florida pug puppies for sale in Indiana pug puppies for sale in KY pug puppies for sale in NC pug dog puppy AKC Registered Pug Puppies For sale cheap pug puppies for sale near me cheap pug puppies for sale in California cheap pug puppies for sale in nj Black Pug Puppies for sale pugs puppies for sale
Perfecthomepugs · 12 weeks and 5 days ago
These are some great points and loads of information about my desired issue and I liked them because they have proved themselves really helpful by getting me the result I wanted! San Francisco Bay Area branding agencies
martinduke · 9 weeks and 5 days 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: