adplus-dvertising
frame-decoration

Question

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

Posted under UNIX

Answer: (c).$0 was used in the script

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A shell script stopped running when we change its name. Why?