UNIX script

  • From: The Human Fly <sjaffarhussain@xxxxxxxxx>
  • To: "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 29 Mar 2005 15:45:21 +0300

Hello list,

Sorry, its slightly off-topic, UNIX related.

My requirement is whenever I divert my output to a file, that should
contains filename along with the data and time.

For example,

ls -ltr > xyz

and next time when I do the same, it should ot overwite to the file,
instead create the file with date and time along with it.

Best Regards,
Jaffar, OCP DBA
Banque Saudi Fransi
Saudi Arabia
"It is your atittude, not your aptitude that determins your altitude."

Other related posts: