Convert rsa private to pem format with openssl command
openssl rsa -in server.key -text > private.pem
openssl rsa -in server.key -text > private.pem
curl –insecure -v https://www.google.com 2>&1 | awk ‘BEGIN { cert=0 } /^* SSL connection/ { cert=1 } /^*/ { if (cert) print }’
apt-get update wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb apt-get install gdebi -y gdebi google-chrome-stable_current_amd64.deb google-chrome -no-sandbox
http://www.cyberciti.biz/faq/how-do-i-find-all-the-files-owned-by-a-particular-user-or-group/ # find /home -group ftpusers # find /data/project -group ftpusers -name “*.c” # find /var -user vivek
To check all language available run follow command: # yum grouplist To install ‘Japanese’ language pack run follow command: # yum groupinstall ‘Japanese Support’
check process mysql with pidfile /run/mysqld/mysqld.pid start program = “/usr/sbin/service mysql start” with timeout 60 seconds stop program = “/usr/sbin/service mysql stop” if failed unixsocket /var/run/mysqld/mysqld.sock then restart
Functionality: Traceroute shows all Layer 3 (routing layer) hops between the hosts. This is achieved by sending packets to the remote destination with increasing TTL (Time To Live) value (starting at 1). The TTL field is a field in the IP packet which gets decreased by one at every router. Once the TTL hits zero,…
#(sends a ping every 200ms) ping -i0.2 <HOSTNAME> #(sends a ping every 50ms, 1000 times) sudo ping -i0.05 <HOSTNAME> -c 1000 #(flood ping, adds a dot for every sent packet, and removes one for every received packet) – careful with flood ping without interval, it will send packets as fast as possible, which within the…
yum install dejavu-fonts* Download: dejavu-lgc-sans-fonts-2.33-6.el7.noarch.rpm rpm -ivh dejavu-lgc-sans-fonts-2.33-6.el7.noarch.rpm
Open your command prompt. Now, connect with telnet using the following command: telnet example.com 25 Type ehlo example.com. Some servers also accept helo in place of ehlo. ehlo example.com Type mail from: username@example.com: mail from: username@example.com Type rcpt to: friend@hotmail.com, friend2@yahoo.com (replace with your actual recipient name): rcpt to: user1@gmail.com, user2@gmail.com To write the message – type data, followed…