You are not logged in.
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?
mikhou
Last edited by mikhou (2012-04-13 07:16:27)
Offline
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)
Offline
That's it! I knew that it was something simple. Can't believe that I couldn't search and find it.
mikhou
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.