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'
shand such: an alias replaces text with text. If you imagineaddappturns intosudo mv $1 /usr/local/binin 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