1.

Which command is used for making the scripts interactive?(a) ip(b) input(c) read(d) writeThe question was asked in an interview for internship.My enquiry is from Shell Programming using read Command and Command Line Arguments in portion Essential Shell Programming of Unix

Answer»

The correct answer is (c) read

For explanation I WOULD SAY: read command is USED for making SCRIPTS INTERACTIVE. It is used for taking input from the user. Input supplied from the keyboard is entered into the variable used with the read command. For example,



Discussion

No Comment Found

Related InterviewSolutions