A shell script stopped running when we change its name. Why?
(a) location of the file changed
(b) we can’t change the name of the script
(c) $0 was used in the script
(d) many possible reasons
I have been asked this question in an internship interview.
Query is from Shell Programming using Various Commands in division Essential Shell Programming of Unix