Amdocs interview question

all question was based on UNIX and SQL