On Sat, Mar 8, 2008 at 10:10 AM, shirish <[EMAIL PROTECTED]> wrote: > Now only if I could add the time & date to this, possible ?
Sure it's possible: ---------------------------------------------------------------- #!/bin/sh log='['$(date)'] '$* echo $log >> ~/.wget_history /usr/bin/wget $* ----------------------------------------------------------------- Some notes: $(date) : capture the output of date command '['$(date) : string concatenation $* : all the command line arguments If you want to customize the date format, see the man page of date. --- Charles
