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


1 Answer 1


Check out curl (http://curl.haxx.se/docs/manpage.html). 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?

  • Alternatively you could use wget to send a POST request.
    – scai
    May 28, 2013 at 6:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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