Bash-Anleitung
Aus CrazyLinux
Eine tolle Einführung gibt's unter http://www.linuxfibel.de/bash.htm oder BashGuide
1 How to convert a string to upper or lower case in bash?
from http://blog.spikesource.com/bashstringconversion.htm
Assuming tr is available on the system,
Convert the given argument into an all lower case string.
toLower() {
echo $1 | tr "[:upper:]" "[:lower:]"
}
Convert the given argument into an all lower case string.
toUpper() {
echo $1 | tr "[:lower:]" "[:upper:]"
2 Lautsprecher bei der Shell ausstellen
setterm -blength 0
keywords: sh,bash,linux,console,cmd,command,shell



