Skip to content

Instantly share code, notes, and snippets.

@3rn3st0
Forked from xr09/gist:912044868b954685de2b
Last active August 29, 2015 14:04
Show Gist options
  • Save 3rn3st0/2e9a0df2b5d84ed821cf to your computer and use it in GitHub Desktop.
Save 3rn3st0/2e9a0df2b5d84ed821cf to your computer and use it in GitHub Desktop.
Una manera sencilla para crear alias de comandos en Linux
# mkalias name "command param1 param2 etc.."
# Example: mkalias srvfolder "python -m SimpleHTTPServer"
mkalias () {
echo "alias $1=\"$2\"" >> ~/.bashrc
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment