as all know , in order to set new TIME ZONE need to perform the following steps
example when we want UTC time
unlink /etc/localtime
ln -s /usr/share/zoneinfo/UTC /etc/localtime
so we create symbolic link from UTC to /etc/localtime
I just Wondering why we need to create link ,
And not just to copy the file
from /usr/share/zoneinfo/UTC to /etc/localtime as:
cp /usr/share/zoneinfo/UTC /etc/localtime
what is wrong about copy the file?
/etc/localtime
won't be updated when timezone files are updated (this happens every few years, typically when some countries change their DST regulations). Linking makes sure it stays up to date.