0 Members and 2 Guests are viewing this topic.
grep --exclude-dir={boot,dev,media,mnt,proc,run,sys,root} -rnw '/' -e "server1"
grep --exclude-dir={boot,dev,media,mnt,proc,run,sys,root,var,postfix,dovecot,lvm} -rnw '/' -e "server1"
/etc/hosts/etc/hostname
127.0.0.1 localhost.localdomain localhost# Auto-generated hostname. Please do not remove this comment.123.123.123.123 server1.domain.com server1::1 localhost
server1.domain.com
server1
chattr +i /etc/hosts /etc/hostname
chattr -i /etc/hosts /etc/hostname