Linux
JQ command to decode Kubernetes token
Apply only security updates in Amazon Linux AMI command
Linux find and rename filename command
Stop Start Fetch config AWS CloudWatch Agent linux command
STOP: FETCH/START STATUS
Linux command find files own by specific owner
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
How to install ‘Japanese’ language in Redhat linux?
To check all language available run follow command: # yum grouplist To install ‘Japanese’ language pack run follow command: # yum groupinstall ‘Japanese Support’
Ping command examples
#(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…
Sending email using telnet command
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…
How to set mtu size for a network interface in redhat linux ?
1. To dynamically change the MTU in real time while the server is in use, ip link set dev eth0 mtu 1350 2. To make the change permanent, edit the interface configuration file (for instance eth0) vi /etc/sysconfig/network-scripts/ifcfg-eth0 AND ADD THE FOLLOWING LINE MTU=1350 3. To restart the Network Interface service network restart eth0