Problem Statement
What is the purpose of the first line '#!/bin/bash' in a shell script?
Explanation
The line '#!/bin/bash' is known as a shebang. It instructs the operating system to use the Bash shell to interpret the script.
Without it, the system may use a different default shell, which could cause compatibility issues.
Code Solution
SolutionRead Only
#!/bin/bash