Share the current tree over the web

python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"
Want to show something on your machine to someone over the web? Don't copy it or upload it somewhere. Just run "webshare" and the current directory and everything beneath it will be served from a new web server listening on port 8000. When your pal is finished, hit control-c. Found at

2009-02-05 15:43:43

What Others Think

Much shorter and accomplishes the same thing: python -m SimpleHTTPServer
wam · 659 weeks and 2 days ago
Thank goodness I found this page! guitar lessons
aegyjingoo · 42 weeks and 4 days ago
cant get over this. will recommend this to my friends. welding companies in atlanta ga
looneyhans · 31 weeks and 3 days ago
Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I'll be sure to check back again real soon. N95 Face Mask
KayGasaway · 13 weeks and 6 days ago
The new enjoyment of 2021 that will make you Forget every online slot game that has ever been played because this is a game that is realistic. And there is a life that is beautiful, beautiful, more beautiful than online slots games
KayGasaway · 13 weeks and 5 days ago
Nice blog, I will keep visiting this blog very often. ???????
KayGasaway · 13 weeks and 4 days ago
I'm constantly searching on the internet for posts that will help me. Too much is clearly to learn about this. I believe you created good quality items in Functions also. Keep working, congrats! ???????????????????????? ??????
KayGasaway · 12 weeks and 6 days ago
Incredible articles and awesome design. Your blog entry merits the greater part of the positive input it"s been getting. ????????????? ?????
jackson2321 · 12 weeks and 5 days ago
Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post with people.. ?????????
jackson2321 · 12 weeks and 5 days ago
Hello, this weekend is good for me, since this time i am reading this enormous informative article here at my home. ????????????????
jackson2321 · 4 weeks and 5 days ago
Many homework on the continual hunt along with offstage on the road to winning. Definitely not attached, simple to-fall as a result of wayside; And not investigation, afterward into a path travel toward the black. ???????
jackson2321 · 4 weeks and 4 days ago
thanks for the tips and information..i really appreciate it.. ????????????
KayGasaway · 4 weeks and 3 days ago
I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject. ?????????????
jackson2321 · 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? 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.


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: