countryboy
New Member
Hi All,
I've searched Google, and though I'm searching as to why my alias is not working in the bashrc, I'm getting results of alias not working in shell scripts.
I have a script that is called digCUST.sh, and I added an alias in my .bashrc file:
alias digh="digCUST.sh"
I sourced the bashrc file, but when I attempt "digh" I get the error: -bash: digh: command not found
I never had an issue with alias in the bashrc before, but this is the first time I've attempted to use an alias for a shell script. Is there something I am overlooking?
I've searched Google, and though I'm searching as to why my alias is not working in the bashrc, I'm getting results of alias not working in shell scripts.
I have a script that is called digCUST.sh, and I added an alias in my .bashrc file:
alias digh="digCUST.sh"
I sourced the bashrc file, but when I attempt "digh" I get the error: -bash: digh: command not found
I never had an issue with alias in the bashrc before, but this is the first time I've attempted to use an alias for a shell script. Is there something I am overlooking?