When we write shell scripts we do this:
#!/bin/bash
But What if bash is in /usr/bin/? How can we find it in a portable way inside script? I did this, but it gives error:
#!which bash
|
When we write shell scripts we do this:
But What if bash is in
|
|||
|
|
|
If
Location for |
|||||||||||||||||
|