Archive for the ‘Linux’ Category
Friday, April 2nd, 2010
I am often curious as to what bots are going on my site at any given moment. So much so that I devote one terminal tab to running this script.
save the following as say bot.sh and make it executable :-
#!/bin/bash
watch "grep $1 /path/to/access.log | tail -15"
note: the number after tail ...
Posted in Linux, Webmaster Things | 3 Comments »
Thursday, December 25th, 2008
Posted in Interesting Vids, Linux | No Comments »
Saturday, June 28th, 2008
CDN stands for Content Delivery(or Distribution) Network. It is a network of servers usually located in various geographic locations to improve the availability and access speed of a website (or webapp or other media). The main use of CDNs were during the nineteens when inter-continental access was slow, scarce and ...
Posted in Linux, Webmaster Things, perl | 8 Comments »
Saturday, June 21st, 2008
Kind attn : Microsoft Thailand (Sorry I cant read your Thai only website)
Kind attn : Lenovo Thailand (Sorry cant find name of contact on your site)
Kind attn : Prasert Charoonpaisal - General Manager - Personal Systems Group (PSG) - HP Thailand
Kind attn : Corporate Communications Dept. - Sony Thai Co., ...
Posted in Linux, Thailand, rants | 21 Comments »
Tuesday, April 15th, 2008
Stolen idea from Sugree...
[sajal@localhost ~]$ history|awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n",a[i],i}}'|sort -rn|head
239 ./autofollow.pl
149 ssh
96 ping
56 df
51 cd
43 ls
36 su
23 GET
22 ./gtalk.pl
18 whois
[sajal@localhost ~]$
Posted in Linux, personal | 1 Comment »