System Location Flashcards

1
Q

locale

A

Displays location info

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

localectl

A

Sets default system language and character encoding. Can also display defaults.
list-locales lists all available.
set-locale to set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Char encoding

A

UTF8: dominant 8-bit Unicode standard

ISO-8859: worldwide encoding, 8-bit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

file

A

-i: can show character encoding.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

iconv

A

Utility to convert file character encoding.

  • f: from
  • t: to
  • o: output file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

date

A
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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

timedatectl

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

tzselect

A

Menu-based tool to get regional time zone, but does not set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

TZ

A

Environmental variable for time zone used in script profile.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

/etc/local time

A

Red Hat symbolic to /var/share/coreinfo/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

/etc/timezone

A

Debian. Contains time zone settings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly