One day, I need to rsync between two Linux servers. And i have to know that only port 80 is opened between those. So use the following command so that rsync can use port 80 rather than 22. #rsync -e "ssh -p 80" -avp /tmp root@remotehost:/tmp Hope that somebody find this post useful.
Purpose - Logging to remote log server instead of keeping log on locally for security reason.
In our case, we will send logs messages to a server with IP Address ( 192.168.1.2 ) How To #vi /etc/syslog.conf
find the following line *.info;mail.none;authpriv.none;cron.none /var/log/messages
change it to *.info;mail.none;authpriv.none;cron.none @192.168.1.2
and restart the syslog server #service syslog restart
Here shows how to change default file type of screenshots to JPG on Mac OSX. Another trick is how to change the default folder path that the captured screenshots are saved. Screenshots are saved on Desktop by default. I want to change it to "/Users/netlynker/Pictures/Screenshots". I type the following command in Terminal.