I need a command which will just send http request to required web directory? Does something like this exist?
Call an URL on debian from command shell
shell;command;http
There are lots of ways:nc www.example.com 80: upside is you have full controll over what you send, downside is you are on your own. Restrict to HTTP 1.0 to minimize the things you need to type GET / HTTP/1.0 followed by an empty line is all you need.curl http://www.example.com/: good for normal use and debugging. Has lots of options. Especially usefull: --verbose to see the HTTP request/response and --head to send a HEAD request (no body).openssl s_client -connect www.example.com:443: Useful for debugging HTTPS servers.wget: good for download and maybe more.w3m, lynx, links: text-only browser.