Skip to content

Konsolentext in Englisch

Linux
1 1 83
  • Ich habe ja gelegentlich Kontakt zu ein paar wenigen Entwicklern. Die Sprache dabei ist englisch, wie ihr ja alle wisst. Da ist es sehr blöd, wenn man aus der Konsole was kopiert, das in deutsch ist und man es z.B. Dan vom Manjaro ARM Team schickt.

    Das hatte ich tatsächlich schon, das es danach viele Nachfragen gab, die man sich ganz einfach ersparen kann. Mit folgender Umgebungsvariable kann man das in englisch ausgeben 🤓

    LC_ALL=C 
    

    Beispielausgabe mit dem Befehl free

    [frank-ms7c92 ~]# free
                  gesamt       benutzt     frei      gemns.  Puffer/Cache verfügbar
    Speicher:   61609880    13752348    36892556      837540    10964976    46327716
    Swap:       67767424           0    67767424
    [frank-ms7c92 ~]# LC_ALL=C free
                   total        used        free      shared  buff/cache   available
    Mem:        61609880    13781124    36863292      837540    10965464    46298944
    

    Wofür steht das C ?

    The C locale is a special locale that is meant to be the simplest locale. You could also say that while the other locales are for humans, the C locale is for computers. In the C locale, characters are single bytes, the charset is ASCII (well, is not required to, but in practice will be in the systems most of us will ever get to use), the sorting order is based on the byte values¹, the language is usually US English (though for application messages (as opposed to things like month or day names or messages by system libraries), it's at the discretion of the application author) and things like currency symbols are not defined.

    Quelle: https://unix.stackexchange.com/questions/87745/what-does-lc-all-c-do

  • Nextcloud - Update 31.0.2

    Nextcloud nextcloud linux
    1
    0 Stimmen
    1 Beiträge
    164 Aufrufe
    Niemand hat geantwortet
  • NanoPi5 - eMMC

    Verschoben NanoPi R5S openwrt nanopir5s linux
    1
    4
    0 Stimmen
    1 Beiträge
    272 Aufrufe
    Niemand hat geantwortet
  • Node.js - Security Update

    Linux nodejs linux
    1
    0 Stimmen
    1 Beiträge
    250 Aufrufe
    Niemand hat geantwortet
  • Portainer - NodeBB Container erstellen

    Linux nodebb portainer linux redis
    1
    5
    0 Stimmen
    1 Beiträge
    349 Aufrufe
    Niemand hat geantwortet
  • Cockpit

    Linux linux
    1
    1
    0 Stimmen
    1 Beiträge
    272 Aufrufe
    Niemand hat geantwortet
  • ClusterSSH

    Angeheftet Linux linux
    4
    1
    0 Stimmen
    4 Beiträge
    1k Aufrufe
    FrankMF
    Mal wieder lange dran rumgefummelt, bis es passte. I have figured out how to use any font in xterm. So for the case of the mentioned Inconsolata font size 14, the following works: Add these 2 lines into ~/.Xresources (create it if it does not exist) XTermfaceName: Inconsolata XTermfaceSize: 14 Then, tell xterm to use this file: export XENVIRONMENT="${HOME}/.Xresources" Preferably add this export into .bashrc, so that it is persistent. comment out the font settings in ~/.clusterssh/config, if it exists: # terminal_font=6x13 Quelle: https://unix.stackexchange.com/questions/230106/cluster-ssh-specify-terminal-font
  • ROCKPro64 - PCIe NVMe SSD installieren

    Hardware linux rockpro64
    1
    0 Stimmen
    1 Beiträge
    363 Aufrufe
    Niemand hat geantwortet
  • Datensicherung zwischen zwei Server

    Linux linux
    2
    1
    0 Stimmen
    2 Beiträge
    772 Aufrufe
    FrankMF
    Funktionskontrolle heute morgen war o.k. Schreibt die Daten aber noch ins falsche Verzeichnis, da muss ich nochmal ran.