$ alias |grep 'k='
alias k='minikube kubectl --'
2) it also exists in .bash_profile
$ cat ~/.bash_profile |grep 'k='
alias k="minikube kubectl --"
3) the content of bash script
$ cat get.sh
#!/bin/bash
source ~/.bash_profile
k get node
4) alias can't work
$ ./get.sh
./get.sh: line 5: k: command not found
The system is debian 11 and the shell is bash.
Please give suggestions. Thank you.
regards.