Timezone: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
cp /usr/share/zoneinfo/Australia/Brisbane /etc/localtime
cp /usr/share/zoneinfo/Australia/Brisbane /etc/localtime
</pre>
</pre>
or
or preferred
<pre>
<pre>
ln -sf /usr/share/zoneinfo/Australia/Brisbane /etc/localtime
ln -sf /usr/share/zoneinfo/Australia/Brisbane /etc/localtime
</pre>
Alternatively for debian
<pre>
dpkg-reconfigure tzdata
</pre>
</pre>


[[Category : Linux]]
[[Category : Linux]]

Revision as of 09:21, 1 July 2017

To set a Linux/Debian timezone.

cp /usr/share/zoneinfo/Australia/Brisbane /etc/localtime

or preferred

ln -sf /usr/share/zoneinfo/Australia/Brisbane /etc/localtime

Alternatively for debian

dpkg-reconfigure tzdata