how to find where alias's are defined

Buchbinder, Barry (NIH/NIAID) [E] BBuchbinder@niaid.nih.gov
Mon Dec 15 00:28:00 GMT 2008


ScKaSx wrote:
> I want to know the location of alias's in cygwin.  I made afew awhile
> ago and now can not determine where they are located.  When I type
> 'alias' I can see the ones I made but it doesn't tell me a location.
> Is there an option I can use to do this?  Thanks.

Aliases don't have locations in the file system.  They can be *set* in
startup files of your shell or at the command line and the shell
remembers them.  If set at the command line, they are not remembered
after the shall is closed.  If set in a startup file, the shell gets
"reminded" each time it is started.

See the documentation for your shell, e.g.,
        man bash
or
        info bash

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list