Everything is a file under Linux and ls* and friends can help you to dig out more information from the system than you originally thought. These Linux tips may come in handy when you need to find out information quickly without going through /proc or sysfs.
ls* Commands Are Even More Useful Than You May Have Thought https://www.cyberciti.biz/open-source/command-line-hacks/linux-ls-commands-examples/