Friday, September 04, 2009

Linux Shell Commands

Si script.sh cambia de ruta y queremos q cambie a esa ruta, habra q anteponer el comando source

#source ./script.sh

Ocultar la evidencia
#alias cmdNuevo="source ./script.sh"

O realizar lo siuiente en el script tambien ayuda
#!/your/shell
cd /home/username
pwd
exit 0


Referencias:
Linux Shell y Ejemplos http://www.freeos.com/guides/lsst/

No comments:

Python3 version alternatives and virtual environments

Solving multiple python installation:   sudo update-alternatives --install /usr/ bin /python3 python3 /usr/ bin /python3 .5 1 sudo update...