Difference between revisions of "Sed -ne"

From wikieduonline
Jump to navigation Jump to search
 
Line 7: Line 7:
 
* <code>echo -n | [[openssl s_client -connect]] HOST:PORTNUMBER | [[sed -ne]] '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/$SERVERNAME.cert</code> <ref>https://serverfault.com/questions/139728/how-to-download-the-ssl-certificate-from-a-website</ref>
 
* <code>echo -n | [[openssl s_client -connect]] HOST:PORTNUMBER | [[sed -ne]] '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/$SERVERNAME.cert</code> <ref>https://serverfault.com/questions/139728/how-to-download-the-ssl-certificate-from-a-website</ref>
  
 +
== See also ==
 +
* {{sed}}
  
{{sed}}
+
[[Category:Linux]]

Latest revision as of 10:45, 12 September 2023

Advertising: