Tips

du -sh /var/* | sort -n

#dh -f                            [disk show]

File Contain remove

# echo > dovecot.conf          { dovecote file contain remove}

# cat 2asik > ashik              [file contain transfer 1 to another]

# hostnamectl set-hostname mail [Add name file]

# echo "192.168.0.14  mail.worldcm.net  mail " >> /etc/hosts

# cat /etc/hosts

Disk repair.

fsck -y                                 [karnel failur]

rpm -e postfix --nodeps     [rpm remove without contain]

Netstat

netstat -nat  [show ports allow]

netstat -ni    [ show interface error]

netstat -r

netstat -i       [Show the list of network interface]

netstat -ie      [Display extended information on the interfaces]

postconf -m   [Postfix configuration utility]

Directory file Size

cd /home/accesst2/mail/

Break Root Password Centos

Step 1--- Reboot The System

After Reboot you will see to lines click on first line and press e

after pressing e you will go to a file

on that file go to line vmlinuz on in that line after F-8

F-8 write rd.break and press ctrl+x

you will be on line

switch_root:/# mount -o remount,rw /sysroot

switch_root:/#chroot /sysroot

root:/#passwd root

new pass

root# touch /.autorelable    and exit   and reboot

thts it