Samsung Electronics interview question

How to check something in Linux