This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Login Message.


2007/6/27, Dave Korn <dave.korn@artimi.com>:
On 28 June 2007 02:42, Larry Hall (Cygwin) wrote:

> Andre Xavier wrote:
>
> <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.
>
>> Larry,
>> I tried '/etc/motd' yet and isn't work.
>> In my case that message is showed when I start o cygwin (cygwin.bat),
>> and '/etc/motd' is used when you open a new login from cygwin.
>
> Very true.  I didn't know how you were starting Cygwin.  If you're just
> using 'cygwin.bat' and it's not obvious by looking at that file, you
> should check out the standard suspects like ~/.bash_login, ~/.bash_profile,
> /etc/profile, and other scripts that are sourced as part of a login shell.
> See the bash's man page for all the details.

Sounds like he needs a bit of

grep 'how are you' ~/.* /etc/*


cheers, DaveK -- Can't think of a witty .sigline today....


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


Experts,
That its the point. The file that I had edited is exactly
'/etc/profile'. Now I'm looking this file and my "message" is there.
Thanks and Regards for your help.

Ps. That others messages that I had posted were in a reverse position
because I'm using an e-mail client, and I didn't pay attention to
that. Sorry for the mistakes that I had caused.

Andre Xavier

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]