You can tunnel through an HTTP proxy using curl, using the -p command line option. This can be very usueful, if your organization uses a proxy to connect to the Internet.
What you'll need to know first it the full host name / URL of the proxy, as well as the port that it is available on, for example:
Next, run curl using the following options to access a site on the Internet. The example below assumes that the proxy is proxy.example.com:80 - please replace with the actual hostname and port combination of your proxy. Also, the command below gets the main page of Google - please replace it with the URL you are trying to connect to.proxy.example.com:80
# curl -p -x http://proxy.examle.com:80 https://www.google.com
If you found this useful, here's more on the same topic(s) in our blog:
- Red Hat Customer Portal
- Measuring network throughput
- Linux Extended File System Attributes
- Subscribing a Red Hat system
- Using the Command-Line Interface for LPM
UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.
Interested in learning more?
Interested in learning more?