From where would the read statement read if the following statements were executed?
exec < file1
exec < file2
exec < file3
read line
a) It would read all the files
b) It would not read any files
c) It would read all the files in reverse order
d) It would read only file3
Submitted by: Murtazab) It would not read any files
Submitted by: Murtaza
Submitted by: Murtaza
Read Online Linux OS Shell Job Interview Questions And Answers
Top Linux OS Shell Questions
☺ | cmd > abc 2>&1 will: |
☺ | The redirection 2> abc implies: |
☺ | Which of these is the correct method for appending \"foo\" in /tmp/bar file? |
☺ | Which one of the following is not a valid shell variable? |
☺ | What will be output of following command: |
Top Linux OS Categories
☺ | Device Drivers Interview Questions. |
☺ | Linux OS Management Interview Questions. |
☺ | Linux Makefile Interview Questions. |
☺ | Linux Environment Interview Questions. |
☺ | Linux OS Shell Interview Questions. |