I'm new to shell scripting. I'd like to know if there's a command similar to echo for displaying text in a terminal, but instead of simply displaying it immediately, it actually types it, like if someone was actually typing on the terminal? I'd also appreciate it if someone could point me to pages explaining simple scripting like menus and such.
Typing text from a shell script
bash;shell;shell script
Here is a pure bash solution :string='foo bar base'for ((i=0; i<=${#string}; i++)); do    printf '%s' ${string:$i:1}    sleep 0.$(( (RANDOM % 5) + 1 ))done ${#variable} is the length o  f the stringprintf can replace echo to display string and format output :%s tell to printf to display a string without newline \n${string:$i:1} is a bash [parameter expansion]1 to display only a specific letter from the string$(( )) is some bash arithmetic$(( ( RANDOM % 5 ) + 1 )) display an integer : 1 to 5 RANDOMlyBonusThis is a function to use with an argument :matrix(){    tput setaf 2 &>/dev/null # green powaaa    for ((i=0; i<=${#1}; i++)); do        printf '%s' ${1:$i:1}        sleep 0.$(( (RANDOM % 5) + 1 ))    done    tput sgr0 2 &>/dev/null}matrix 'foo bar base'