GNU/Linux >> LINUX-Kenntnisse >  >> Linux

Was macht „lc_all=c“?

Was bedeutet C Wert für LC_ALL tun in Unix-ähnlichen Systemen?

Ich weiß, dass es das gleiche Gebietsschema für alle Aspekte erzwingt, aber was bedeutet C tun?

Akzeptierte Antwort:

Es zwingt Anwendungen, die Standardsprache für die Ausgabe zu verwenden:

$ LC_ALL=es_ES man
¿Qué página de manual desea?

$ LC_ALL=C man
What manual page do you want?

und erzwingt eine byteweise Sortierung:

$ LC_ALL=en_US sort <<< $'anbnAnB'
a
A
b
B

$ LC_ALL=C sort <<< $'anbnAnB'
A
B
a
b

Linux
  1. Was bedeutet „–“ (Doppelstrich)?

  2. Was bedeutet Exec 3?

  3. Was macht Bamfdaemon?

  4. Was macht 'bash -c'?

  5. Was gibt pwd aus?

Was ist NGINX? Wie funktioniert es?

Was bedeutet chmod 777

Was gibt malloc(0) zurück?

Wofür steht 'cd-'?

Was macht ulimit -s unlimited?

Was genau macht init?