Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #173546

Re: Jessie - Strange Alias Problem

From "S. P. Molnar" <s.molnar@sbcglobal.net>
Newsgroups linux.debian.user
Subject Re: Jessie - Strange Alias Problem
Date 2016-10-17 19:50 +0200
Message-ID <stkcW-6Af-21@gated-at.bofh.it> (permalink)
References <stjAd-6l5-7@gated-at.bofh.it> <stk3g-6wD-53@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Jessie - Strange Alias Problem "S. P. Molnar" <s.molnar@sbcglobal.net> - 2016-10-17 16:40 +0200
  Re: Jessie - Strange Alias Problem Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-17 16:50 +0200
  Re: Jessie - Strange Alias Problem "Thomas Schmitt" <scdbackup@gmx.net> - 2016-10-17 18:30 +0200
    RE: Jessie - Strange Alias Problem "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2016-10-17 18:50 +0200
      Re: Jessie - Strange Alias Problem "Thomas Schmitt" <scdbackup@gmx.net> - 2016-10-17 19:00 +0200
        Re: Jessie - Strange Alias Problem "S. P. Molnar" <s.molnar@sbcglobal.net> - 2016-10-17 19:00 +0200
          Re: Jessie - Strange Alias Problem Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-17 19:10 +0200
            Re: Jessie - Strange Alias Problem "Thomas Schmitt" <scdbackup@gmx.net> - 2016-10-17 19:40 +0200
              Re: Jessie - Strange Alias Problem "S. P. Molnar" <s.molnar@sbcglobal.net> - 2016-10-17 19:50 +0200
                Re: Jessie - Strange Alias Problem "Thomas Schmitt" <scdbackup@gmx.net> - 2016-10-17 21:20 +0200
                RE: Jessie - Strange Alias Problem "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2016-10-17 21:40 +0200
                Re: Jessie - Strange Alias Problem "Thomas Schmitt" <scdbackup@gmx.net> - 2016-10-17 22:20 +0200

csiph-web