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:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=jU9JvcWucTTAM7Q8 0jimiX8upSWMAYc4KROK8tXfO+OHm1hq+JrlpqwJKRRoqVKbHLSkzIM+XkpZ90dU CGbzTMON6xJlWJmRtApq7koDG3E7VWHGRuPD1vAHIlQafGRvrtX5RFYIsvQDFqEH rYdz0Q9poM0tpKmOCxqn4dkkWns= 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:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=D4es5FHCO7BB/iLf2YFO9Z W7DAY=; b=ibBXTEzCElcvqWwUURkdpjiiyIyVfi4jBRecrpylYgh2voCBeAWHKI RTNnwEdHgJx+E/T0PSP3ENd7c4jZBSjZTLduAQIgvb7omsOdgHTClStmpxikDUVi aYJlxw7FylP63+LZ8PL8JVWiUElJwa0P9KT+f293LUURUtrjS7hBo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: vms173023pub.verizon.net Message-id: <52F97C44.7060508@cygwin.com> Date: Mon, 10 Feb 2014 20:26:28 -0500 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 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> In-reply-to: <52F979B0.2080604@ptd.net> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit 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. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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