Amazon interview question

Linux basics