3/20/2023 0 Comments Curl command![]() In this example we are using telnet to test remote server port 443 using curl -v telnet://:443 as shown below. If you want to test a Remote Server port connection then you need to use below curl command. Example 2: How to Test a Remote Server Port Connection version: Displays information about curl and the libcurl version it uses. Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftpįeatures: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets As you can see from below output, current curl command version is 7.29.0. If you want to check the curl command version then you need to use curl -version command as shown below. SyntaxĪlso Read: 40 Best Examples of find command in Linux Example 1: How to check curl command version ![]() ![]() We will check the usage of curl command in various places using different examples. curl command supports different protocols like HTTP, HTTPS, TLS, FTP, SSL, SMTP, POP3, SCP, LDAP, IMAP etc. There are other useful operations like checking the remote server port, download files etc can be performed using curl command in Linux. You can even use this tool to upload your data in the FTP Server. curl is very powerful command line tool to send or receive GET and POST request/response from web server. In this article, I will take you through 20 Useful curl command in Linux with Examples. Example 20: How to check other options of curl command.Example 19: How to send mail using SMTP Protocol.Example 18: How to check the meaning of a word from Dictionary.Example 17: How to Connect through Proxy Server.Example 16: How to Append the File instead of rewriting using curl command.Example 15: How to use specific interface to connect remote host.Example 13: How to forcefully Use different SSL version.Example 12: How to Pass Header Information.Example 11: How to upload a File to the FTP Server.Example 10: How to Access Protected FTP Server.Example 9: How to Limit the Transfer Rate.Example 8: How to Save a File with different File Name.Example 7: How to Resume a File Download using curl command.Example 6: How to Download a File using curl command.Example 5: How to follow URL Redirect until the Destination.Example 4: How to get the HTTP Headers of a URL.Example 3: How to retrieve home page of a URL.Example 2: How to Test a Remote Server Port Connection.Example 1: How to check curl command version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |