UNIX Scripting help to input string and search a file to find

Hi everyone,

I am new to Unix and need help writing a script that can ask user for an input, then search that input within a file

I know will have to use the read and grep commands, anyone can give me somewhere to start would help

Task: Write a script to display which volume pool a given tape belongs. This script should use as input a file that contains a list of tape barcodes.

thanks,

Richard

Moderator comments were removed during original forum migration.