On 10/17/2016 01:41 PM, Thomas Schmitt wrote:
Hi,

S. P. Molnar wrote:
-bash: alias: l: not found
The command which makes this reproducible for me is

   unalias l


Greg Wooledge wrote:
[...] DEBUG trap [...] PROMPT_COMMAND [...]
[...] alias or function overriding the cd command.
So many interesting ways to shoot the own foot.

@S. P. Molnar:
What do you get from these commands

   trap
   echo "$PROMPT_COMMAND"
   alias


Have a nice day :)

Thomas



comp@AbNormal:~$ l
-bash: l: command not found
comp@AbNormal:~$ trap
trap -- '' SIGTSTP
trap -- '' SIGTTIN
trap -- '' SIGTTOU
comp@AbNormal:~$ echo "$PROMPT_COMMAND"

comp@AbNormal:~$ alias
comp@AbNormal:~$ source .bashrc
comp@AbNormal:~$ trap
trap -- '' SIGTSTP
trap -- '' SIGTTIN
trap -- '' SIGTTOU
comp@AbNormal:~$ echo "$PROMPT_COMMAND"

comp@AbNormal:~$ alias
alias adt='/home/comp/Apps/MGLTools-latest/bin/adt'
alias l='ls -l --color'
alias ls='ls --color=auto'
alias mopac='/opt/mopac/MOPAC2016.exe'
comp@AbNormal:~$

--
Stephen P. Molnar, Ph.D.        Life is a fuzzy set
www.Molecular-Modeling.net      Stochastic and multivariate
(614)312-7528 (c)
Skype:  smolnar1

Reply via email to