Posts Tagged ‘Tricks’

Advance Bash Scriptiong Tricks

Posted: 21st December 2010 by Babar Shafiq in Networking, Programming
Tags: , , , , ,

Here are some of my Linux bash shell findings, I hope it is good for everyone Find some text in current folder, sub-folders and files:- find . | xargs grep ‘string_to_find’ Getting current time from some time server:- cat < /dev/tcp/time.nist.gov/13 Convert Unix Timestamp (aka Epoch):- date -d @1292946804 Tue Dec 21 20:53:24 2010 Downloading a […]