System Location Flashcards
locale
Displays location info
localectl
Sets default system language and character encoding. Can also display defaults.
list-locales lists all available.
set-locale to set.
Char encoding
UTF8: dominant 8-bit Unicode standard
ISO-8859: worldwide encoding, 8-bit.
file
-i: can show character encoding.
iconv
Utility to convert file character encoding.
- f: from
- t: to
- o: output file
date
Displays current date and time in multiple forms, can also set date and time. -u: UTC -s: assign temporary date —set: set permanent date. Format modifiers: can enable the display of date stats in specific manners via +% m=month d=day y=year abbreviated Y=year full a=weekday A= full weekday D=with month,year.
timedatectl
Current time and date settings, can be used to update system time and RTC data
set-time: modifies local and RTC. Will survive reboot.
BELOW CANNOT BE DONE FOR NTP SERVER
set-timezone: set zone
list-timezone: list
tzselect
Menu-based tool to get regional time zone, but does not set.
TZ
Environmental variable for time zone used in script profile.
/etc/local time
Red Hat symbolic to /var/share/coreinfo/
/etc/timezone
Debian. Contains time zone settings.