Category: HOW TO

Linux/Unix script

[Script] Send e-mail from bash

The mail command can be used under Linux or UNIX bash, ksh, csh shell to send an email. To send a message to one or more address, mail can be invoked with arguments which are …

[How To] Reset Mac OS forgotten password

Turn on your machine Insert cd into computer and hold <ALT> key Choose boot media Installation will prepare to system set up. Choose language Wait until progress will finish In the top menu select <Utilities> …
Ubuntu operating system

[How To] Enable iptables log file in Ubuntu 11.04

Edit syslog configuration file vim /etc/rsyslog.d/50-default.conf Restart rsyslog service service rsyslog restart Change owner of the firewall.log file chown syslog:adm /var/log/firewall.log After “kern.* -/var/log/kern.log” line add #iptables Log kern.debug /var/log/firewall.log