Linux – How to add executable bash script on ubuntu startup

One more option is schedule a job at boot time

crontab -e

Choose an editor to open the cron job file. Append the following with your script name

@reboot path/to/script.sh

In your case

crontab -e

@reboot /home/user/Documents/file.sh

Make sure the script has executable permission.