Re: date stuff


Subject: Re: date stuff
From: James Zuelow (jamesz@ideafamilies.org)
Date: Mon Apr 22 2002 - 10:56:32 AKDT


----- Original Message -----
From: "Chris Hamilton" <chris@digitalalaska.com>
To: <aklug@aklug.org>
Sent: Monday, April 22, 2002 10:47 AM
Subject: date stuff

>
> I'm trying to create a file that includes the date the file was
created as
> part of the filename. Any suggestions?
>
> Thanks.
>
> Chris.
>
For example:

#!/bin/bash
DTE=`date +%y%m%d`
ps aux > $DTEprocess.list
exit 0

will give you a file with the date (if you ran that today you should get
a file named 020422process.list).

Cheers,

James

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Mon Apr 22 2002 - 10:57:33 AKDT