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


Groups > linux.debian.user > #174379

Re: Strange Problem with 'alias'

From Henning <henning@itcfollmann.com>
Newsgroups linux.debian.user
Subject Re: Strange Problem with 'alias'
Date 2016-11-08 21:10 +0100
Message-ID <sBkSt-5IO-5@gated-at.bofh.it> (permalink)
References <sBjWq-53v-49@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



> On Nov 8, 2016, at 2:01 PM, S. P. Molnar <s.molnar@sbcglobal.net> wrote:
> 
> I am running Debian v-8.5.0 with the bash shell and a number of alias's defined.
> 
> For example alias l='ls -l --color'
> 
> When I boot the system none of the definitions of alias in .bashrc are active.  That is until I open a terminal and input source .bashrc.  So far, so good alias works - in that terminal!  If I open a tab in the same terminal the alias's are gone!!!
> 
> I keep the system up to date.
> 
> Is this fatal?  NO  Very annoying? YES
> 
> I  don't have the faintest idea as to what is going on.
> 
> A solyutio to this problem, short of a new installation of the OS, will be very appreciated.  Thanks in advance.
> 
> 


There is a difference between login shell and interactive shell.

Put your aliases into .bash_ptofile
> 

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


Thread

Strange Problem with 'alias' "S. P. Molnar" <s.molnar@sbcglobal.net> - 2016-11-08 20:10 +0100
  Re: Strange Problem with 'alias' "S. P. Molnar" <s.molnar@sbcglobal.net> - 2016-11-08 20:20 +0100
    Re: Strange Problem with 'alias' Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-08 20:50 +0100
  Re: Strange Problem with 'alias' Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-08 21:10 +0100
    Re: Strange Problem with 'alias' Michael Milliman <michael.e.milliman@gmail.com> - 2016-11-08 21:10 +0100
      Re: Strange Problem with 'alias' Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-08 21:20 +0100
        Re: Strange Problem with 'alias' Michael Milliman <michael.e.milliman@gmail.com> - 2016-11-08 21:40 +0100
    Re: Strange Problem with 'alias' "S. P. Molnar" <s.molnar@sbcglobal.net> - 2016-11-08 22:00 +0100
  Re: Strange Problem with 'alias' Henning <henning@itcfollmann.com> - 2016-11-08 21:10 +0100

csiph-web