Samsung Electronics Interview Question

How to check something in Linux