First, when I never had installed sl:
diogosaraiva@Ubuntu:~$ sl
O programa 'sl' não está instalado actualmente. Pode instalá-lo escrevendo:
sudo apt-get install sl
traslaction: "The program 'sl' is not currently installed. You can install it by typing:"
But when I'm tired of it and I remove it by typing sudo apt-get remove sl per example...
I get this when I type sl:
-bash: /usr/games/sl: Ficheiro ou directoria inexistente
translate: "-bash: /usr/games/sl: No such file or directory"
instead of:
diogosaraiva@Ubuntu:~$ sl
O programa 'sl' não está instalado actualmente. Pode instalá-lo escrevendo:
sudo apt-get install sl
This appears with others packages too...
How I get rid of this: -bash: /usr/games/sl: Ficheiro ou directoria inexistente ?
I want see the original:
diogosaraiva@Ubuntu:~$ sl
O programa 'sl' não está instalado actualmente. Pode instalá-lo escrevendo:
sudo apt-get install sl
Output of type sl
sl está hasheado (/usr/games/sl)
type sl? – muru Feb 10 '15 at 17:31hash -rsolved it... – DiogoSaraiva Feb 10 '15 at 17:38LC_MESSAGESenvironment variable toC; for a single command useLC_MESSAGES=C [command](e. g.LC_MESSAGES=C type sl), for all subsequent commands useexport LC_MESSAGES=C. – David Foerster Feb 10 '15 at 19:35=Cand how I return to Portuguese ifexport LC_MESSAGES=C, and if I useLC_MESSAGES=C [mycommand]only apply to the [mycommand], right? – DiogoSaraiva Feb 10 '15 at 20:08Crefers to the default locale of the C programming language (so US English). You can undo theexportvariant withunset LC_MESSAGESand you're right about the single command thing. – David Foerster Feb 10 '15 at 21:08