Redirection in Unix/Linux

Redirection is a very important concept in Unix, it is quite helpful when you setup cron or schedule the scripts, it helps you in redirection output from std device like screen to some file which can be beneficial if script is running in the background without user interference. Any person can later check the output ...

Weblogic Certificate Renewal for existing or new certs with commands

Below are commands to renew an existing or create a new certificate request. Weblogic Cert Commands: 1 - List the keys: keytool -list -v -keystore identity.jks -storepass password 2 - Generate a new Key Pair & Java Keystore: keytool -genkey -alias mydomain -keyalg RSA -keystore keystore.jks -keysize 2048 OR 2 - Generate CSR for existing ...

Finding High mount point greater than threshold in single command

You can use below command to find a mount point whose usage is greater than threshold value Example below we have 1st filed as mount point name, & 4th field is used percent, df -k Filesystem 1024-blocks Free %Used Iused %Iused Mounted on /dev/hd4 131072 6624 95% 6871 75% / /dev/hd2 2195456 135588 94% 47519 ...

Checking SSL/TLS connectivity via openssl to verify Poodle Fix

You can use below commands to check on which protocols a particular website responds: Recommended practice is to use only TLS1_1 & TLS1_2 as the enabled protocols on your web/app server. As SSL3 & TLS1 are not that secure now due to various uncovered vulnerabilities. openssl s_client -connect : -<ssl3|ssl2|tls1|tls1_1|tls1_2> openssl s_client -connect localhost:8080 -ssl2 ...