391
Programmes et logiciels / Re : KDE Plasma : votre expérience
il faut installer le paquet okular-spectre.
Cette espace vous permet de voir toutes les Messages réalisées par ce membre. Vous ne pouvez voir que les Messages réalisées dans les espaces auxquels vous avez accès.
thierry@toto-PC:~> LANG=fr_FR.UTF-8Le 5ième et le 6ième est souligné, il s'agit des champs pris en compte lors de cette commande… Alors que l'unique champs qui devrait être pris en compte est le 5.
thierry@toto-PC:~> ls -l /usr/bin/ | sort --debug -nrk 5 | head -n 30
Je ne rencontre pas ce soucis sous Leap 15.2 ni, à titre de comparaison, sous Fedora 33.
Peux-tu renvoyer la sortie en erreur ? (avec unCode: [Sélectionner]head -n5pour être moins verbeux)
thierry@toto-PC:~> LANG=fr_FR.UTF-8
thierry@toto-PC:~> ls -l /usr/bin/ | sort -nrk 5 | head
-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
thierry@toto-PC:~> LANG=de_DE.UTF-8
thierry@toto-PC:~> ls -l /usr/bin/ | sort -nrk 5 | head
-rwxr-xr-x 1 root root 22878400 2. Dez 15:13 mariabackup
-rwxr-xr-x 1 root root 15182904 12. Mai 2020 flashplayer
-rwxr-xr-x 1 root root 12626608 1. Jan 11:51 gdb
-rwxr-xr-x 1 root root 9441608 25. Jun 2020 gimp-2.10
-rwxr-xr-x 1 root root 9112288 7. Dez 23:28 ld.bfd
-rwxr-xr-x 1 root root 6323384 16. Mai 2020 librecad
-rwxr-xr-x 1 root root 5123096 2. Dez 15:13 mysql_ldb
-rwxr-xr-x 1 root root 5123072 2. Dez 15:13 sst_dump
-rwxr-xr-x 1 root root 4508080 2. Dez 15:13 aria_chk
-rwxr-xr-x 1 root root 4466416 2. Dez 15:13 aria_read_log
thierry@toto-PC:~> LANG=fr_FR.UTF-8
thierry@toto-PC:~> ls -l /usr/bin/ | sort --debug -nrk 5 | head -n 30
thierry@toto-PC:~> LANG=de_DE.UTF-8
thierry@toto-PC:~> ls -l /usr/bin/ | sort --debug -nrk 5 | head -n 30
Peut-être un mauvais alias est définit pourCode: [Sélectionner]ls, que renvoitCode: [Sélectionner]which ls?
thierry@toto-PC:~> which lsJe n'ai défini qu'un seul alias supplémentaire, les autres sont ceux par défaut.
/usr/bin/ls
alias sz='sudo zypper up --details'
echo $LANGchez moi j'ai de_DE.UTF-8 , pour beaucoup d'entre vous ce sera fr_FR.UTF-8 (sinon us_US.UTF-8)
LANG=fr_FR.UTF-8
ls -l /usr/bin/ | sort -nrk 5 | head -n 500Le classement selon le champs N°5 ne s'effectue pas correctement chez moi.
LANG=de_DE.UTF-8Le classement est maintenant correct (chez moi),
ls -l /usr/bin/ | sort -nrk 5 | head -n 500
LANG=fr_FR.UTF-8Même sans effectuer cette dernière commande, il me semble qu'en fermant la console tout redevient comme avant.
Oui le h est plus performant que le u,mais pour un usage normal,s'en rend on vraiment compte ? À moins de jouer à kikala plus grosse...
15.6,je trouve ça un peu gros. 14 semble être un bon compromis . Perso j'ai un 12'' et ça me va bien.
The setuid/gid-bit became ignored on many systems for security reasons.
The setuid and setgid flags only have effect on binary executable files. Setting these bits on scripts like bash, perl or python does not have any effect.
Due to potential security issues,[4] many operating systems ignore the setuid attribute when applied to executable shell scripts.
A set-user-ID program allows a process to gain privileges it would not normally have, by setting the process’s effective user ID to the same value as the user ID (owner) of the executable file.
thierry@toto-PC:~/Documents/Informatik> ll -d ../Informatik/
drwxr-xr-x 2 thierry users 4096 7 déc. 09:33 ../Informatik/
thierry@toto-PC:~/Documents/Informatik>
thierry@toto-PC:~/Documents/Informatik> cat SETUID_prog
#!/bin/bash
# Verwendung von 'SETUID', Dateiattribut…
echo "Geben Sie eine Zahl ein:"
read zahl
echo $zahl > zahl.txt
echo "Die Zahl ist $zahl und ist in der Datei zahl.txt gespeichert"
thierry@toto-PC:~/Documents/Informatik>
thierry@toto-PC:~/Documents/Informatik> ll SETUID_prog
-rwsr--r-- 1 root root 189 7 déc. 10:15 SETUID_prog
thierry@toto-PC:~/Documents/Informatik>
thierry@toto-PC:~/Documents/Informatik> ./SETUID_prog
bash: ./SETUID_prog: Permission non accordée
thierry@toto-PC:~/Documents/Informatik>
sleep 2; echo -e "Time's up\a"ou comme cela:
sleep 2; echo "Time's up" $'\a'
thierry@toto-PC:~> echo -e "Retour \nà \nla ligne"
Retour
à
la ligne