1.

test statement cannot ______(a) compare two numbers(b) compare two strings(c) compare two files(d) check a file’s attributesThe question was asked in an interview for internship.I need to ask this question from Shell Programming using Various Commands in portion Essential Shell Programming of Unix

Answer»

Correct option is (c) COMPARE two files

The explanation: TEST works in THREE ways:

•compare two numbers

•compare two strings

•check a FILE’s attributes



Discussion

No Comment Found

Related InterviewSolutions