I've been mostly using Manjaro and Arch recently, but I'm trying to debug some possible hardware issues on Mint.
I have a number of bash scripts that no longer work in mint, because they start with
#!/usr/bin/bash, but Mint has bash located at
/bin/bash. Is there a way to incorporate some sort of redirect without having to change all my scripts?
For example, one of my first scripts I wrote to start practicing was just this:
#!/usr/bin/bash -x cmatrix -bC red
/usr portion allows it to run fine in Mint, but is there a way to keep the same script and run it in both distros?.