public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* how to find where alias's are defined
@ 2008-12-15  0:05 ScKaSx
  2008-12-15  0:28 ` Buchbinder, Barry (NIH/NIAID) [E]
  2008-12-15  1:55 ` Thorsten Kampe
  0 siblings, 2 replies; 3+ messages in thread
From: ScKaSx @ 2008-12-15  0:05 UTC (permalink / raw)
  To: cygwin


Hi All,

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.

Cheers,
ScKaSx
-- 
View this message in context: http://www.nabble.com/how-to-find-where-alias%27s-are-defined-tp21006365p21006365.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: how to find where alias's are defined
  2008-12-15  0:05 how to find where alias's are defined ScKaSx
@ 2008-12-15  0:28 ` Buchbinder, Barry (NIH/NIAID) [E]
  2008-12-15  1:55 ` Thorsten Kampe
  1 sibling, 0 replies; 3+ messages in thread
From: Buchbinder, Barry (NIH/NIAID) [E] @ 2008-12-15  0:28 UTC (permalink / raw)
  To: cygwin, 'ScKaSx'

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to find where alias's are defined
  2008-12-15  0:05 how to find where alias's are defined ScKaSx
  2008-12-15  0:28 ` Buchbinder, Barry (NIH/NIAID) [E]
@ 2008-12-15  1:55 ` Thorsten Kampe
  1 sibling, 0 replies; 3+ messages in thread
From: Thorsten Kampe @ 2008-12-15  1:55 UTC (permalink / raw)
  To: cygwin

* ScKaSx (Sun, 14 Dec 2008 16:04:23 -0800 (PST))> 
> 
> 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.

The easiest thing would be to simply search the whole Cygwin folder for 
a file with a content of your alias. The smartest thing would be to 
identify which shell you are using, read the FILES section of the man 
page and then to look into these files. If you use bash that would be 
/etc/profile, ~./bashrc and ~/.bash_profile.

Where ever you did put your aliases - if you didn't put them in 
~/.bashrc then you put them into the wrong place.

Thorsten


--
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-15  1:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-15  0:05 how to find where alias's are defined ScKaSx
2008-12-15  0:28 ` Buchbinder, Barry (NIH/NIAID) [E]
2008-12-15  1:55 ` Thorsten Kampe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).