Amazon interview question

SQL , linux commands