Linux: Difference between revisions

No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
A collection of notes on using Linux systems.
A collection of notes on using Linux systems.
Notes here are for Ubuntu but should work on similar debian derivative distros.
Notes here are for Ubuntu but should work on similar debian derivative distros.
 
See also [[NixOS]].


==Basic Terminal Commands==
==Basic Terminal Commands==
Line 449: Line 449:
==Dual Booting==
==Dual Booting==
===Fix time difference between Windows===
===Fix time difference between Windows===
[http://ubuntuhandbook.org/index.php/2016/05/time-differences-ubuntu-1604-windows-10/ Reference]
By default, Windows stores the local time in the hardware clock while Ubuntu stores UTC time.
 
Set ubuntu to store UTC time:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
timedatectl set-local-rtc 1 --adjust-system-clock
timedatectl set-local-rtc 0 --adjust-system-clock
</syntaxhighlight>
</syntaxhighlight>
Set Windows to store UTC time:
https://wiki.archlinux.org/title/System_time#UTC_in_Microsoft_Windows


===Recover GRUB after installing Windows===
===Recover GRUB after installing Windows===