ength
1
-z
operand has zero length
1
-d
there exists a directory whose name is operand
1
-f
there exists a file whose name is operand
1
-eq
the operands are integers and they are equal
2
-neq
the oppo... ile. There are string operators and numeric comparison operators as well. If the file argument to one of the primaries is of the form `/dev/fd/N', then file descriptor N is checked. If the file argument to one of the primaries is one of `/dev/stdin', `/dev/stdout', or `/dev/stder
können umgeleitet werden
Eine solche Umleitung ist für die beteiligten Prozesse transparent, d.h. dem Prozess ist es letztlich egal, woher er seine Eingaben bezie... n der Tastatur (stdin), sondern aus einer Datei, bis das Dateiende erreicht ist.
Die Eingabeumleitung erfolgt durch das Zeich... ie Datei noch nicht vorhaden war, wird sie automatisch angelegt. Falls die Datei schon vorhanden ist, wird sie überschrieben, d. h. es wird immer ab ... rr) erscheinen nach wie vor auf dem Bildschirm. Beispiel: Ausgabe der Verzeichnisbelegung in einen Datei:
ls -l > info
Umlenkun
ry character typed will appear twice.
To avoid this, a neat stty trick is used in which the original state of stty is stored before the stty change and restored after
ch schreiben: "{}" und ";"
Coll, weil nur Ergebnisse:
<code>
find / -type f -exec grep -H 'text-to-find-here' {} \;
</code>
grep alleine:
This will only search through those files which have .... -e "pattern"
</code>
====== Zuschlag aus Schatzkiste löschen ======
Versehentliche Zusätze in Schatzkiste. Sie werden nach der Zahl in Centbeträgen in de
er gerufen zu werden.
==== Shortcuts ====
mit 'history' kann man sich alle Einträge aus '~/.bash_history' anzeigen lassen.
Mit Rufzeichen (!) vor der... ichen einen Text eingibt, kann man diesen in der History suchen.
* [Strg + a]: zum Start der Zeile... opy/Paste-Tasten:
*[Strg + k]: ausschneiden bis zum Zeilenende
*[Strg + u]: ausschneiden bis zum Zeilenanfang
*[Strg + w]: vorhergehendes Wort
";" zerlegen und in ein array speichern.
Mit PHP ist das doch ganz einfach mit explode() möglich.
mf... $Password $Email"
done < ./users.csv
</code>
Das ist eine Bash-Variante zu explode.
PS: Und vergiss für dieses Problem Perl oder awk. Damit bekommt das doch jeder hin und das ist einfach nicht cool :ugly: *SCNR* ;)