On Wed, 26 Jun 2002, Joseph S D Yao wrote: > On Wed, Jun 26, 2002 at 11:28:55AM +0100, James Wilson wrote: > > cp /usr/share/zoneinfo/GMT /etc/localtime > > WARNING: if /etc/localtime WAS a symlink, then this will overwrite and > destroy the old contents of the timezone file to which it had been > (well, and still is) pointing. If it WAS a symlink, remove it and > create a new one pointing to the correct time zone file ... > /usr/share/zoneinfo/Asia/Kuala_Lumpur, or whatever.
ln -sf usually works better than cp for config files. There's no real need to use cp for most purposes and most users of this command got their grounding in a DOS environment. ln and ln -s are your friends. :-) AB
