Anzeige mit Verzögerung
echo "lolo is a dancer"| pv -qL 5
Mehr Infos: https://www.baeldung.com/linux/terminal-simulate-typing-effect
find ./ -type f -exec grep -Hn "upload_max_filesize" {} \;
Es wird die Zeile des Suchergebnisses mit Nummer angezeigt.
find . -type f -exec md5sum {} + | sort | uniq -w32 -D
Parameter -h gibt's erst seit GNU coreutils 9.2, Debian 12 kommt noch mit coreutils 9.1
factor 24
24: 2 2 2 3
und
factor -h 24
24: 2^3 3
https://de.wikipedia.org/wiki/Primfaktorzerlegung
Alles was gemountet ist als dev oder von dev. Für Mensch übersichtlich gelistet:
mount | grep /dev | column -t -W 6
Achtung nicht das
"bind a name to a socket"
sondern
"Bash bind builtin command"
bind -p
zeigt alle Shortcuts an
Mehr Infos zu bind: https://www.computerhope.com/unix/bash/bind.htm
$(<file)
ist äquivalent zu $(cat file)
, nur schneller.
Beispiel :
P=( $(</etc/passwd) ); echo ${P[0]}