What is $0 shell?

What is $0 shell?
Answer
$0 expands to
the name of the shell or shell script
. This is set at shell initialization. If bash is invoked with a file of commands, $0 is set to the name of that file.
 

Tìm kiếm

Back
Top