I have some code that I use all the time in the terminal, so I would like to have it on the Ubuntu 18.04.3 LTS desktop. I want to be able to copy it from the desktop but not be able to modify it from the desktop (in order to not change it by mistake).
Is there a extension? Can I write some code that can do it and if yes where should I put it?
alias
, see https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Aliases and, if you needsudo
, https://askubuntu.com/questions/22037/aliases-not-available-when-using-sudo – DK Bose Jan 11 '20 at 11:52