command
Apply only security updates in Amazon Linux AMI command
Powershell command check AWS SSM Agent version number
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…
How to install Kubernetes Engine client via gcloud command?
gcloud components install kubectl Your current Cloud SDK version is: 191.0.0 Installing components from version: 191.0.0 ┌──────────────────────────────────────────────────────────────────┐ │ These components will be installed. │ ├─────────────────────┬─────────────────────┬──────────────────────┤ │ Name │ Version │ Size │ ├─────────────────────┼─────────────────────┼──────────────────────┤ │ kubectl │ │ │ │ kubectl │ 1.8.6 │ 12.3 MiB │ └─────────────────────┴─────────────────────┴──────────────────────┘ For the latest full release notes, please visit:…
Linux command: check hardware information on Linux o/s
Check RAM $free -m Check CPU $lscpu List hardware $lshw Hardware Information $hwinfo List PCI $lspci List scsi devices $lsscsi List usb buses $lsusb List block devices $lsblk Disk space of file systems $df View mounted file systems $mount
find and replace example linux command
find . -type f -print0 | xargs -r0 sed -i -e ‘s/http:\/^C/\/\//g’ find . -type f -print0 | xargs -r0 sed -i -e ‘s/HTTP:\/\//\/\//g’