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
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’
#(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…
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…
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
To list any process listening to the port 9000 $lsof -i:9000 To kill any process listening to the port 9000 $kill -9 $(lsof -t -i:9000)
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
tr -s ‘ ‘
sed -e ‘s/^[ \t]*//’
$lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise