Alias en shell
A shell is a software that provides an interface to the user. There could be two kinds of shells, text or graphical. In either category, the purpose of the shell is to lauch a program.
We can create alias inside a shell to invoke those programs in a more efficient way.
To do that, we just edit the file .bashrc. For example, if we want to create an alias in ubuntu to update the system, we add the following line:
#Alias for updating the system
alias update = “sudo apt-get update”
To override all possible aliases, we just write a backslash and the command will be run as-is.
\ls
Aún no hay comentarios.
Deja un comentario
-
Recientes
- Fedora 11 – MySQL configuration
- Alias en shell
- Flash in Fedora 10
- Memory Stick in Sony Vaio. Ubuntu Hardy.
- Sysvconfig
- Montar imagen ISO en Ubuntu
- Configuring MySQL for Linux
- Paso de parámetros a funciones en Java
- Navegador en modo texto.
- Colores en la salida del comando ls
- Cita
- Por qué el tamaño mínimo de un paquete Ethernet es 46 bytes
-
Enlaces
-
Archivos
- Noviembre de 2009 (1)
- Junio de 2009 (1)
- Diciembre de 2008 (1)
- Noviembre de 2008 (1)
- Septiembre de 2008 (1)
- Mayo de 2008 (2)
- Abril de 2008 (1)
- Marzo de 2008 (2)
- Enero de 2008 (5)
- Diciembre de 2007 (5)
- Junio de 2007 (1)
-
Categorías
-
RSS
Subscripciones RSS
RSS de los Comentarios