Originally Posted by custangro
Depends on what you're trying to do...
Have you written anything yet? What part are you stuck on?
If the parameter exists in the textfile then it should echo "welcome" otherwise it should echo "does not exist".
echo "enter the name of the file"
if [ grep "$1" property.txt ]
echo "welcome" $1
else echo "Does Not Exist"