Question: what is the difference between cat and less command?
Answer: The two are different. less is a non-standard pager ( more is the standard one), used for viewing text, while cat is a standard utility, used for concatenating any type and number of data streams into one. They might appear to do the same thing under some circumstances, but then again, so does other utilities.