public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Michael Ring" <Michael.Ring@t-mobil.de>
To: "cygwin@sourceware.cygnus.com" <cygwin@sourceware.cygnus.com>
Subject: Re: cygwin
Date: Tue, 30 May 2000 23:36:00 -0000	[thread overview]
Message-ID: <C5082IMH1UQPL*@MHS> (raw)

[-- Attachment #1: Type: text/plain, Size: 1577 bytes --]

On Wed, 31 May 00 04:41:38 +0100, you wrote:

>Hi,
>
>I use cygwin with w98.
>My question: how to install a thing like "/etc/profiles" or ~/.bashrc ?

Start bash; then type:

mkdir /etc (This might fail if /etc already exists)
cd /etc
cygpath -w /etc

You will now have the Windows directory path of /etc

You can then copy your profile (!! without 's' !!) file with explorer
or create a new profile from within bash.

now issue the command

ls -l /etc

from within your bash shell. You should see your profile and perhaps other files
like termcap.
Please make sure that profile does not end with the extension .txt or .doc!

now type:

cat /etc/profile

does the result look like a plain textfile ? Fine, go on

now type:

sh /etc/profile

if this works without an error you are done with profile.

Now type:

cd
cygpath -w ~

This sequence of commands has brought you in your home-directory, You now also
have the Windows Path to your home.

You can now test if there really is a .bashrc:

ls -l .bashrc 

or

ls -l ~/.bashrc

 
>I want automatically some aliases to be loaded at startup.
>
>The bash uses c:\ as root (I assume: there lies the .bash_history), but
>it won't help when I place a '.bashrc' there (written with lower case).
>

Just in case, I have included a .bashrc and a profile as an attachment to this
mail. If they fail, you are really in trouble.

>Please excuse my bad english,

Same with me ;-)

Michael Ring
>
>greetings
>Dietmar
Binary data
Binary data
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


[-- Attachment #2: bin00000.bin --]
[-- Type: text/plain, Size: 61 bytes --]

echo "I am now in .bashrc"


echo "I am leaving .bashrc now"

[-- Attachment #3: bin00001.bin --]
[-- Type: text/plain, Size: 61 bytes --]

echo "I am now in profile"


echo "I am leaving profile now"

             reply	other threads:[~2000-05-30 23:36 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-30 23:36 Michael Ring [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-12 13:46 cygwin Iris Quinn
2022-10-10 13:36 cygwin Betsy Baker
2022-09-26 15:19 cygwin Bob Barrins
2022-09-26 13:36 cygwin Shane Dwyer
2022-07-26 10:19 Cygwin Steven Mcmanama
2021-11-12 12:49 cygwin Tom Harel
2013-09-20  1:16 cygwin ghjfyiangnwd1
2011-05-06 15:28 CYGWIN rdickert
2011-05-06 15:32 ` CYGWIN Eric Blake
2011-05-06 16:16 ` CYGWIN Illia Bobyr
2009-07-27  2:00 cygwin@cygwin.com leena21
2009-07-27  6:42 ` cygwin Christopher Faylor
2008-10-30  1:19 Cygwin DrJeckyl
2008-10-30  1:25 ` Cygwin Larry Hall (Cygwin)
2008-10-30  1:39   ` Cygwin DrJeckyl
2008-10-30  1:49     ` Cygwin Larry Hall (Cygwin)
2008-10-30  1:50     ` Cygwin Greg Chicares
2008-10-30  3:22       ` Cygwin Larry Hall (Cygwin)
     [not found] <61152.84.190.50.192.1154366859.squirrel@webmail.charite.de>
2006-07-31 20:35 ` cygwin Igor Peshansky
     [not found] <64932.84.190.50.192.1154335251.squirrel@webmail.charite.de>
2006-07-31 14:28 ` cygwin Igor Peshansky
2006-07-31  9:39 cygwin Dr. Christoph Gille
     [not found] <000601c641d2$add590b0$6600a8c0@SCOTT>
2006-03-07 18:05 ` cygwin Dave Korn
2004-06-14  2:47 cygwin risalya aldin
2004-06-14  9:51 ` cygwin Dave Korn
2004-03-04 19:53 cygwin news.gmane.org
     [not found] <200211210933.58117.geisj@pagestation.com>
2002-11-21  7:55 ` cygwin Joshua Daniel Franklin
2002-11-21  8:48   ` cygwin Jerry Geis
2002-11-21  9:15     ` cygwin Igor Pechtchanski
     [not found] <200211202246.43715.geisj@pagestation.com>
2002-11-21  7:06 ` cygwin Joshua Daniel Franklin
2002-09-11 13:00 Cygwin Dicks Brian R Civ AFRL/VACD
2002-09-11 11:14 Cygwin Dicks Brian R Civ AFRL/VACD
2002-09-11 11:20 ` cygwin Christopher Faylor
2002-09-11 11:25 ` Cygwin Igor Pechtchanski
2002-08-27  7:33 Cygwin Mike Westkamper
     [not found] <20020321004935.50450.qmail@web13908.mail.yahoo.com>
2002-03-20 17:08 ` cygwin Earnie Boyd
2001-08-13 12:44 Cygwin's CVS - can it be a network server? Charles Wilson
2001-08-14  7:39 ` Cygwin T.Phan
     [not found] <002801c103cb$6958db80$6464648a@ca.boeing.com>
2001-07-03 21:03 ` cygwin Vrijlal M S
2001-07-03 22:14   ` cygwin Michael A. Chase
2001-04-25 11:05 cygwin Miles Teugioux
2001-04-02  6:23 Cygwin Ofir Gilboa
2001-04-02  7:50 ` Cygwin Charles S. Wilson
2001-04-03  7:49   ` Cygwin Jesper Eskilson
2001-04-02 12:41 ` Cygwin Michael A. Chase
2001-03-12  9:09 Cygwin Kalkoul Morad
2001-03-12 17:32 ` Cygwin Gerrit P. Haase
     [not found] <4.3.2.7.2.20001221094216.00b8e580@192.139.243.65>
     [not found] ` <00122116343506.10826@cygbert>
2000-12-21  7:40   ` Cygwin Philip Humeniuk
2000-06-15 20:36 Cygwin Peter Rasmussen
2000-05-30 19:40 cygwin Dietmar Lettau
2000-05-31  0:48 ` cygwin Heinz-Juergen Oertel
2000-01-25  9:06 Cygwin Krista DePoy
1999-11-24  8:10 CYGWIN Earnie Boyd
1999-11-30 23:39 ` CYGWIN Earnie Boyd
1999-11-24  7:34 CYGWIN Cyrille Ribstein
1999-11-30 23:39 ` CYGWIN Cyrille Ribstein
1999-09-26 17:25 Cygwin ???? ????
1999-09-26 17:43 ` Cygwin Suhaib M. Siddiqi
1999-09-30 23:42   ` Cygwin Suhaib M. Siddiqi
1999-09-30 23:42 ` Cygwin ???? ????
1999-06-23 11:14 Cygwin Edin Pjetrovic
1999-06-23 11:38 ` Cygwin Joshua Rosen
1999-06-30 22:10   ` Cygwin Joshua Rosen
1999-06-30 22:10 ` Cygwin Edin Pjetrovic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='C5082IMH1UQPL*@MHS' \
    --to=michael.ring@t-mobil.de \
    --cc=cygwin@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).