-
-
Save 3rn3st0/2e9a0df2b5d84ed821cf to your computer and use it in GitHub Desktop.
Una manera sencilla para crear alias de comandos en Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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