Mark

> When I set the date in Redhat 6.2, it dates all files 6 hours ahead
> of the current time--I assume because it doesn't recognize my
> timezone??? How do I set this?  
> 
> i.e.
> > date
> Sun Jan 21 21:30:13 EST 2001
> 
> > touch /tmp/testfile
> > ls -l /tmp/testfile
> -rw-------   1 mark     mark   80577 Jan 22 02:30 bushcheney.output

Thanks for the report.  But perhaps you could be more specific?  You
are touching a file but the output file name does not match the file
name you were listing.  Perhaps it was really a directory and
therefore you were listing the directory?

It would also be most helpful if you listed the version of ls on your
system.  This can be done most easily with "ls --version".

Traditional UNIX systems use the TZ variable to store the timezone.
Make sure you are *not* setting that variable on a Linux system.
Linux uses a machine configured timezone file.  This can be configured
on Redhat 6.2 with the /usr/sbin/timeconfig command.  You will need to
be the superuser to make changes.

Bob

_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to