Sunday, April 22, 2012

Attach file in mail command line Linux/Unix

 uuencode ACTUAL_FILENAME.tgz TO_BE_NAME_IN_ATTACHEMENT.tgz | mail -s "MAIL SUBJECT " what@is-the-email.com

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...