Dovecot - configuring auto forward sender address

Configuring auto forward sender address…

Check Hard drive for bad sectors or bad blocks in linux

Step:1 Use fdisk command to identify your hard drive info # sudo fdisk -l Step:2 Scan your hard drive for Bad Sectors or Bad Blocks # sudo badblocks -v /dev/sdb > /tmp/bad-blocks.txt Just replace “/dev/sdb” with your own hard disk / partition. When we execute above command a…

Pivos - Rebuild and Sign .img file

Finally you have to rebuild the image, to do this first compress the new image file with zip: zip -r update-unsigned.img * And then you have to sign that update-unsigned.img java -Xmx1024m -jar signapk.jar -w testkey.x509.pem \ testkey.pk8 update-unsigned.img update.img I extracted the signapk.…

Kernel Cleanup

The ulimate Linux kernal clean up command for Debian based systems. dpkg -l | grep ^ii | grep "linux-image-[0-9]" | awk -F' ' '{ print $2 }' | grep -v `uname -r` | sed '$d' | sed '$d' | sed 's/linux-image//' | xargs -i echo "linux-image{} linux-headers{}" | xargs apt -y purge…

Recursively chmod file or directories

Recursive chmod only files within this folder: > find . -type f -exec chmod 0600 {} \; Recursive chmod only folders within this folder: > find . -type d -exec chmod 0755 {} \;…