I'm new to linux. I want to be placed as a System Admin. I attended an interview at Amazon. They asked me to write a cmd to find the string that starts with 's' and ends with 'a' in a file. I know that we have to use grep, but I don't know how to use it. Added to this they also asked how grep works. Can anyone brief out an answer for this?
Thanks in advance