I'd like to use some commands on my Orange pi zero within reach, for example: I want to execute one command on ubuntu, and I want to have every commands on 1 file.
my_file (without ending in .sh)
#!/bin/bash
alias myip='curl ipinfo.io/ip'
alias tururu='echo it works'
Have this file, and chmod -x was executed on this file, but when I do on terminal "sh my_file myip", doesn't do anything, but didn't give me an error, so what I'm doing wrong?
Thank you very much
source my_file && myip