Q. How would you search for the string clothes at the end of the line in a file called shopping? (Solved)
1. grep 'clothes#' shopping
2. grep 'clothes!' shopping
3. grep 'clothes$' shopping
4. grep 'clothes^' shopping
- c. grep 'clothes$' shopping