delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=BRMQizKSMAL3Ob/ogt4+8cv85FLyXnilF2kHHwvO9dv | |
/S6RTxMCiE9Ak8SJPXlb2G9zQ2TxDLQpNmI7sGUi8uQ94lNeNMIA+vHOfkZQ0Sda | |
kvwvWBYzJln3g12p5Szp08UnecEp6GdrHc0lspWxsVpnTg0WBsxp0J73ldq0qml0 | |
= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
s=default; bh=BP9gIhqdcNyQnHwrBy/O0hC8vmc=; b=m9twvKLNqSxW1UObU | |
Tzs5Me2mSGTFxdioOfrtYQK2fC1wK2FW456clIseHdKCUQxpyPeqmJwTb8Rkr5Qh | |
vZMiaQLNPI5uOUhLTsLK2l4SV6PTzaF6ppowftOAvuZURWwI1TWICOn6Vw98FVZg | |
vSN6i+ScozptDD3koD5/EotWrs= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | proxyz12.mailnet.ptd.net |
Message-ID: | <52FB2A14.8070306@ptd.net> |
Date: | Wed, 12 Feb 2014 03:00:20 -0500 |
From: | Mike Rushton <mrushton AT ptd DOT net> |
User-Agent: | Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Newbie Alias and Profile questions |
References: | <52F979B0 DOT 2080604 AT ptd DOT net> <52F97C44 DOT 7060508 AT cygwin DOT com> <52F98759 DOT 6040101 AT ptd DOT net> |
In-Reply-To: | <52F98759.6040101@ptd.net> |
X-IsSubscribed: | yes |
OK, I got it working ... I have my home in an directory other that what Cygwin defaults because other software run needs I thought my files were being overwritten ... but no - I was modifying the wrong files. After I found the correct files and modified the .bash_profile everything was fine. I was not aware of this .bash_profile and I was not aware of the source command. On the versions of Unix/Linux that I have used I would always do a .profile to execute the commands in it when I made changes. So again I was making changes and the shell was not aware of the changes. Hey, I've been using Cygwin for like 2 weeks ,,, On 2/10/2014 9:13 PM, Mike Rushton wrote: > Well let me work at it tomorrow. > > I know how to do this on other unix systems, just that Cygwin is not > acting as I am used too. > > I have done things like this on some versions of RHEL, UnixWare, > Xenix, MKS Tookit. > > I guess I have to keep reading the Documentation and trying things. > > ( and no more use of the term Newbie :-) ) > > > On 2/10/2014 8:26 PM, Larry Hall (Cygwin) wrote: >> On 2/10/2014 8:15 PM, Mike Rushton wrote: >>> Can some one give me some hints about this ? >>> >>> I read the documentation and can't figure this out. >>> >>> I am trying to put an alias in a .bashrc >>> >>> alias clear='printf "\033c"' >>> >>> But what .bashrc do I put this in ? in /ect/skel or the one my user >>> directory. I put this code in and it seems to get overwritten. >>> I don't understand what I am doing wrong. >> >> Overwritten? By what? What's your home directory? >> >>> It is a minor thing that i can't clear the screen, but i want to >>> work at >>> this and try to fix this. >> >> OK but 'clear' will do what you want. >> >>> Then I want to add a script to my profile. but what one the >>> .profile or >>> .bash_profile ? >> >> Unless you want it available to all users and other shells, put it in >> your >> .bash_profile. >> >>> Other that these problems, I am converting my Korn shell scripts to >>> bash >>> under Cygwin and it is going pretty good so far. >> >> FYI, at least the last 2 questions above are general UNIX/Linux >> questions. >> You should consult a good UNIX/Linux resource for some basic user >> tutorials >> and guides. >> >> >> > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |