Use the -n option:
cat -n pom.xml
You can now grep over the output for that particular line number you’d like to see. Avoid annoying lessing and searching for manually.
I guess the title of the post is self-explanatory:
Reference. It’s actually -h the option doing the trick here. The others are for listing the files with details (-l) and showing the hidden ones too (-a).