The application is sdtrunk, my raspberry pi 5 has an SSD no sd card and the application is crashing (closing) about every other day. I'm not advanced enough to create a bash script can you explain it like I'm a newbie because I am, lol.
It's unusual that it's closing like that, are you using the latest stable version of SDRTrunk or a nightly? I don't use SDRTrunk myself but in the past when I attempted to, I couldn't even get the nightly at the time working properly. Could've been a bad build. I didn't know the latest raspberry pi had an SSD kit, that's cool!
Anyways, Bash is similar to .bat on Windows in that it runs through terminal/cmd. Easiest way to create one is to open your text document editor on Linux and add the code, then save it as a .sh file. On Linux though, you'll have to give the .sh file executable permissions, and you can do that by opening the terminal and cd into the directory that sh file is located and typing "chmod +x my_script.sh" and to run the script, you can just navigate to the directory of the script and type "./my_script.sh"
I would personally add both SDRTrunk and the .sh script to a single folder in your home directory. The home directory is the easiest to navigate to, since you can get there by just typing cd in terminal, or "cd ~". You can confirm what directory you're located in the terminal by typing "pwd" and the most useful command in the terminal imo will be "ls" or "ls -a" which will list all the files and folders that are located in your current location.
Oh I forgot to mention but not every Linux distro will use bash. Some debian flavors will use alternatives like ash, or zsh. I've never once used a Linux distro that didn't use bash though, so I assume you won't have any issues there.
I miss using Linux lol. I'd be using it now if I could find a digital audio workstation that I liked. Not a fan of Reaper or Ardour. Oh, and dsd+ fastlane. It doesn't have a native linux port. I think you can run it through WINE but I'd rather not.