Linux help with ubuntu

in Linux+
Hey, guys i'm currently starting my Linux journey and having difficulty with one of my labs since i dont associate with none of my class mates thought i'd rely on my reliable source techexams
.
I'm a little lost with the commands not a linux guy
want to be!. This is for my linux class he wants us to make a basic BASH script to find a certain type of string in a file. using the following
$ fsearch
String to search for: someSearchString
File to search in: someFileName
[results displayed here...]
also using the basic of the "if" or "else". If you guys can help me would be greatly appriciated. just looking for tips or examples or maybe a little explanation i want this to be a learning experience.

I'm a little lost with the commands not a linux guy

$ fsearch
String to search for: someSearchString
File to search in: someFileName
[results displayed here...]
also using the basic of the "if" or "else". If you guys can help me would be greatly appriciated. just looking for tips or examples or maybe a little explanation i want this to be a learning experience.
Comments
CCIE Progress - Hours reading - 15, hours labbing - 1