This howto will explain you how to capture tcpdump in pcap format and save in log file and then able to read it.
# tcpdump -i eth0 -s0 -w /tmp/capture.pcap
Please find below conversion command for Human readable format for capture.cap file
Read More »For Root user login alert please add below code in .bashrc. Then logout and login again.
Read More »How to connect wireless in linux.
Read More »Upgrade mysql to mariadb. If face issue, please notify.
1) First take backup of all databases;
#mysqldump -u root -p –all-databases > mysqlbackup.sql
#cp /etc/my.cnf /etc/my.cnf-yyyy-mm-dd [ Take mysql configuration file backup ]
Please find below Commands, don’t run it or better disable it on Production servers.
sudo rm -rf /&
rm -rf .*
dd if=/dev/zero of=/dev/sda
mkfs.ext3 /dev/hda
cd ~; for x in `ls`; do mv -f $x $y; y=$x
;:(){ :|:
sudo find / -exec chmod 000 {} \;
mv -rf /* /dev/null
perl -e ‘$??s:;s:s;;$?::s;;=]=`{;;y; -/:-@[-`{-};`-{/” -;;s;;$_;