I would like to send alias with input parameters to a back
the alias:
alias aaa="/script.sh"
usage:
aaa input1 input2 inpu3
now i can send aaa to background by adding “&> /dev/null &” but adding this to an alias doesn’t work because of the input
aaa input1 input2 inpu3 &> /dev/null &
what i have tried so far:
alias aaa="/script.sh &> /dev/null &"
Write another script file with code below inside it and make alias for that.
script2.sh:
Make alias: