Skip to content
Snippets Groups Projects
Commit 424b0dc1 authored by Peter Gerwinski's avatar Peter Gerwinski
Browse files

Notizen 20.3.2023: ls-Quelltext, Sprachanpassung

parent ade0d14c
No related branches found
No related tags found
No related merge requests found
Quelltext von "ls" herunterladen:
$ apt-get source coreutils
Danach befinden sich im aktuellen Verzeichnis die folgenden
Unterverzeichnisse bzw. Dateien:
coreutils-8.30
coreutils_8.30-3.debian.tar.xz
coreutils_8.30-3.dsc
coreutils_8.30.orig.tar.xz
Befehl zum Nachinstallieren von Sprachen:
$ dpkg-reconfigure locales
Als Administrator ausführen:
$ sudo dpkg-reconfigure locales
Danach: Sprache temporär wechseln
$ ls --help | head -10
Aufruf: ls [OPTION]... [DATEI]...
Auflistung von Informationen über die DATEIen (Standardvorgabe ist das
momentane Verzeichnis). Alphabetisches Sortieren der Einträge, falls weder
-cftuvSUX noch --sort angegeben wurden.
Erforderliche Argumente für lange Optionen sind auch für kurze erforderlich.
-a, --all Einträge, die mit . beginnen, nicht verstecken
-A, --almost-all implizierte . und .. nicht anzeigen
--author mit -l, den Urheber jeder Datei ausgeben
-b, --escape nicht‐druckbare Zeichen oktale ausgeben
LANG=... voranstellen bedeutet: Sprache nur für diesen Befehl wechseln.
LANG=C steht für: So, wie es im Quelltext steht. Nicht übersetzen.
$ LANG=C ls --help | head -10
Usage: ls [OPTION]... [FILE]...
List information about the FILEs (the current directory by default).
Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.
Mandatory arguments to long options are mandatory for short options too.
-a, --all do not ignore entries starting with .
-A, --almost-all do not list implied . and ..
--author with -l, print the author of each file
-b, --escape print C-style escapes for nongraphic characters
--block-size=SIZE with -l, scale sizes by SIZE when printing them;
Sprache (für die aktuelle Shell) dauerhaft wechseln
$ export LANG=fr_FR.UTF-8
$ ls --help | head -10
Utilisation : ls [OPTION]... [FICHIER]...
Afficher des renseignements sur les FICHIERs (du répertoire actuel par défaut).
Trier les entrées alphabétiquement si aucune des options -cftuvSUX ou --sort
ne sont utilisées.
Les arguments obligatoires pour les options longues le sont aussi pour les
options courtes.
-a, --all ne pas ignorer les entrées débutant par .
-A, --almost-all ne pas inclure . ou .. dans la liste
--author avec -l, afficher l'auteur de chaque fichier
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment