Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
- maxThreads="150" scheme="https" secure="true"
- keystoreFile="/opt/cloudhost/tomcat6/security/keystore.jks" keystorePass="changeit"
- clientAuth="false" sslProtocols="TLSv1,TLSv1.1,TLSv1.2"
- ciphers="TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA,... [Sortened cipher list fro readability]" />
- <!--
- <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
- maxThreads="150" scheme="https" secure="true"
- keystoreFile="/opt/cloudhost/tomcat6/security/keystore.jks" keystorePass="changeit"
- clientAuth="false" sslProtocols="TLSv1,TLSv1.1,TLSv1.2"
- ciphers="TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA,... [Sortened cipher list fro readability]" />
- lineNumber=$(grep -n <somevalue> filename|awk '{ print $1 }')
- tail -n $lineNumber server.xml| grep -n '<!--'
- sed '25,$!d' server.xml |grep -n '<!--'
- awk 'NR>24 && /<!--/ {print; exit}' file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement