Guten Tag,
wenn ich den Befehl ausführe:
erwarte ich, der Output wird absteigend und numerisch nach dem 5 Feld sortiert.
Aber ich bekomme:
Code
thierry@localhost:~> ls -l /usr/bin/ | sort -nrk 5 | head -n 30
-rwxr-xr-x 1 root root 15182904 12 mai 2020 flashplayer
-rwxr-xr-x 1 root root 9441608 25 juin 2020 gimp-2.10
-rwxr-xr-x 1 root root 6323384 16 mai 2020 librecad
-rwxr-xr-x 1 root root 3625200 15 juin 2020 kleopatra
-rwxr-xr-x 1 root root 3589528 25 juin 2020 gimp-console-2.10
-rwxr-xr-x 1 root root 3188584 16 mai 2020 konversation
-rwxr-xr-x 1 root root 3159680 28 oct. 14:01 zypper
-rwxr-xr-x 1 root root 2992656 23 nov. 23:59 vim-nox11
-rwxr-xr-x 1 root root 2496112 10 oct. 02:57 Xvnc
-rwxr-xr-x 1 root root 22878400 2 déc. 15:13 mariabackup
-rwxr-xr-x 1 root root 2143568 16 mai 2020 busybox-static
-rwxr-xr-x 2 root root 2099800 21 juin 2020 perl5.26.1
-rwxr-xr-x 2 root root 2099800 21 juin 2020 perl
-rwxr-xr-x 1 root root 1878040 16 mai 2020 omshell
-rwxr-xr-x 1 root root 1877008 15 juin 2020 akonadi_kolab_resource
-rwxr-xr-x 1 root root 1474936 15 juin 2020 akonadi_ews_resource
-rwxr-xr-x 1 root root 1466048 16 mai 2020 w3m
-rwxr-xr-x 1 root root 1465816 16 mai 2020 strace
-rwxr-xr-x 1 root root 1309288 13 nov. 00:48 grub2-fstest
-rwxr-xr-x 1 root root 1304552 13 nov. 00:48 grub2-editenv
-rwxr-xr-x 1 root root 1277368 13 nov. 00:48 grub2-mkrescue
-rwxr-xr-x 1 root root 1226688 29 oct. 23:59 rpcclient
-rwxr-xr-x 1 root root 1218608 15 juin 2020 kolourpaint
-rwxr-xr-x 1 root root 12165480 9 juin 2020 gdb
-rwxr-xr-x 1 root root 1179968 23 juil. 12:49 flatpak
-rwxr-xr-x 1 root root 1173808 24 nov. 00:21 systemd-analyze
-rwxr-xr-x 1 root root 1166872 17 mai 2020 ktorrent
-r-xr-xr-x 1 root root 1149232 16 mai 2020 iasl
-rwxr-xr-x 1 root root 1126992 13 nov. 00:48 grub2-emu
-rwxr-xr-x 1 root root 1079832 19 déc. 13:20 WebKitWebDriver
Alles anzeigen
Warum sind die Dateien 'mariabackup' und 'gdb' so sortiert ?
Ich habe bemerkt, die Tagesnummer von 'mariabackup' und 'gdb' enthalten nur eine Zahl.
Danke für Ihre Hilfe.