I am trying to have an alias to move binaries into a folder on my path. Currently I have:
alias addapp='sudo mv $1 /usr/local/bin'
I am trying to have an alias to move binaries into a folder on my path. Currently I have:
alias addapp='sudo mv $1 /usr/local/bin'
sh
and such: an alias replaces text with text. If you imagineaddapp
turns intosudo mv $1 /usr/local/bin
in whatever command line you wanted to use it then you will see why it didn't work as you expected. – Kamil Maciorowski May 25 '22 at 19:45