handy commands
5 March, 2021 by
handy commands
Administrator

continuous live logging

tail -f /var/log/mail.log

 

show line number nano

nano -c filename

 

Ubuntu 14.04 System Logging

sudo chown syslog:adm /var/log
sudo chmod 0775 /var/log

sudo service rsyslog restart
sudo service postfix restart