This feels like a simple question and should be a simple find, but I cannot find the answer. I know that I have read here before where someone said that they mapped shortcut commands for longer processes. For example:
"upg" would be a shortcut for "sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade"
But for the life of me, I have searched and can't find that. Can anybody tell me how to do this, and is this a Linux thing, an OB thing, or an xfce thing?
Last edited by mikhou (2012-04-13 07:16:27)
Alias is what you're looking for. alias upg='blablabla' for what you wrote up there. To make it permanent you add it to ~/.bashrc.
Oh, and it's a Unix thing, I'm pretty sure.
Last edited by noman (2012-04-13 06:31:17)