I’m not a Linux expert, but if you included the paths in the bash source, they should be callable. Did you try whereis link_raw
to see if the scripts exist?
Besides that: Did you see that you can skip the steps of SLC formation and stacking ect (up to chapter 5 in the manual) by preparing the files in SNAP? Have a look here: About the STaMPS category