=
<code bash>
#!/bin/bash
X=""
if [ -n "$X" ]; then # -n tests to see if the argument is non empty
echo "the variable X is not the empty strin... k list of test operators. It's by no means comprehensive, but its likely to be all you'll need to reme... e if...
number of operands
-n
operand non zero length
1
-z
operand has zero length
1
-d
there exis
==== Tasks in den Hintergrund ====
Darüber hinaus übernimmt unter Linux die Kommandozeile auch die Kontrolle über laufende Tasks, wenn Sie das wollen.
Hängen Sie ein "&" an einen Programmaufruf, startet es im Hintergrund.
Ein im Vo
====== Ein- und Ausgaben beim Bashscript umleiten ======
Ein- und Ausgaben können umgeleitet werden
Eine solche Umleitung ist für die beteiligten Prozesse transparent, d.h. d
to read the text without displaying it on the screen. The UNIX Bourne shell does not have this functio... g, the command stty -echo can be used. Any subsequent user input (including commands typed at the shel... t the local terminal (in which case we cannot prevent echoing passwords) and the result of the second