Amazon interview question

which linux command to check memory