Monday, 30 November 2015

Pen drive show empty even when data exists


Click on "Start" -->Run --> Type cmd and press Enter.

Here I assume your pendrive drive letter as G:

Enter this command.

attrib -h -r -s /s /d g:\*.* --> Press Enter

Thursday, 30 April 2015

Squid Access log with Time format

perl -pe 's/\d+/localtime($&)/e' access.log  > test.log

cat test.log | grep 172.20.10.50 > test3.log

cat test3.log | grep -ir "Apr 30" > test5.log


Time change

date --set="2010-04-06 10:25 PM"