Skip to content

Instantly share code, notes, and snippets.

@mfyance
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfyance/e59a04ce437c0668ae17 to your computer and use it in GitHub Desktop.
Save mfyance/e59a04ce437c0668ae17 to your computer and use it in GitHub Desktop.
Bash Aliases - Bashero en Linux
* Crear un bashero : touch ~/bash_aliases
* Editar bashero creado: gedit ~/bash_aliases
* En el archivo creado, se debe agregar los alias que voy a utilizar. (Ejm. https://gist.github.com/mfyance/a0e31393442c88267306)
* Editar: gedit ~/.bashrc
* Agregar:
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
* Resetear lo editado: source ~/.bashrc
* Hacer la prueba
NOTA: Otra referencia [https://www.digitalocean.com/community/tutorials/an-introduction-to-useful-bash-aliases-and-functions]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment