From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13290 invoked by alias); 11 Feb 2014 02:14:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 13275 invoked by uid 89); 11 Feb 2014 02:14:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 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 Received: from proxyz12.mailnet.ptd.net (HELO proxyz12.mailnet.ptd.net) (204.186.204.104) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Feb 2014 02:14:21 +0000 Received: from localhost (localhost [127.0.0.1]) by proxyz12.mailnet.ptd.net (Postfix) with ESMTP id EB8CE723194 for ; Mon, 10 Feb 2014 21:14:18 -0500 (EST) Received: from proxyz12.mailnet.ptd.net ([127.0.0.1]) by localhost (proxyz12.mailnet.ptd.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IO5KPF6EB1Qw for ; Mon, 10 Feb 2014 21:14:18 -0500 (EST) Received: from [192.168.1.137] (75.97.151.199.res-cmts.sewb.ptd.net [75.97.151.199]) (Authenticated sender: mrushton) by proxyz12.mailnet.ptd.net (Postfix) with ESMTPA id BB50F72318B for ; Mon, 10 Feb 2014 21:14:16 -0500 (EST) Message-ID: <52F98759.6040101@ptd.net> Date: Tue, 11 Feb 2014 02:35:00 -0000 From: Mike Rushton User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Newbie Alias and Profile questions References: <52F979B0.2080604@ptd.net> <52F97C44.7060508@cygwin.com> In-Reply-To: <52F97C44.7060508@cygwin.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00230.txt.bz2 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