Shell Script To Check String Length (Display Message If It Doent't Have At Least 5 Characters )

in Categories Decision Making, String Management last updated June 28, 2008

Write a shell script that accepts a string from the terminal and echo a suitable message if it doesn’t have at least 5 characters including the other symbols. Script must not use array or array length to find out string length.


Share this on:

2 comment

    Have a question? Post it on our forum!