Return to Snippet

Revision: 51820
at October 5, 2011 05:53 by vagrantradio


Initial Code
/*--------------------------------------------------------------------------------------------
batch file
-------------------------------------------------------------------------------------------- */
start C:\path\to\putty.exe -ssh [user] -pw [password] -m C:\path\to\commands.txt

/*--------------------------------------------------------------------------------------------
commands.txt
-------------------------------------------------------------------------------------------- */
tail -f /home/user/logs/yourdomain.com/http/access.log | grep -v "internal"

Initial URL

                                

Initial Description
Script I use to tail my server log files.

Initial Title
Putty SSH Auto-Login, Run Command File

Initial Tags

                                

Initial Language
DOS Batch