<code>while
read line
do
echo -e "$line"
done < ./users.csv
</code>
Mit diesem Bash Skript lese ich eine CSV ein.
<code>
Testuser;kennwort;Testuser@linux.local
Testuser2;kennwort2;Testuser2@linux.local
Testuser3;kennwort3;Testuser3@linux.local</code
y be unary or binary. Unary expressions are often used to examine the status of a file. There are strin... minal.
-u file
True if file exists and its set-user-id bit is set.
-w file
True if file exists an... True if file exists and is owned by the effective user id.
-G file
True if file exists and is owned ... tring2
True if the strings are equal. `=' may be used in place of `=='.
string1 != string2
True if
o turn off echoing, the command stty -echo can be used. Any subsequent user input (including commands typed at the shell) will not be echoed.
To restore the echoing, use stty echo. However, it is poor programming to mak... ppear twice.
To avoid this, a neat stty trick is used in which the original state of stty is stored be