Differences between the cat and ls utilities


#1

Transfered from Linux Config Disqus comments:

Question:
What are the differences between the cat and ls utilities, with respect to file content?
Answer:
ls without any arguments will return a file name and thus it does not directly read a content of the file. Whereas cat will return a content of a file.


#2