Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for a way in bash to paste a few lines (which will be selected in a loop) to a form on a webpage at a certain location (i.e to a specific field on a page). Is this possible? Hope I've made sense


share|improve this question

Check out curl ( It offers numerous possibilities to access the web through the command line (including POST requests).

Also take a look at What is the cURL command-line syntax to do a POST request?

share|improve this answer
Alternatively you could use wget to send a POST request. – scai May 28 '13 at 6:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.