delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/10/20:38:33

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=hFxwgtHwO0bCJ5O4JeHqo2SSIJwTgl3seNdo2WVR5YjpYArzhdGfo
4KkbnleW7+BbXqv6EsHsUBkHnp6jfMV8OdTV4I+Gtb9coy8NEU2vy1b/JbAm6Vcs
DbNMKiYy/Lc808XxQlWHHfuGw56F+ZVcRWF5Jo2DKv5FuEKjuIsjWU=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=T/d5hXfK/P1CPxFLD8W6XeFoVeo=; b=sTrVkrk86+/IdjVzyK2ybXPD6wyt
pUlt2GQru/yM3UjcyRwvQQX0zXuWMiElVrJaZtEh8nVbx5Zjv77kMIUmDmErvsaj
8++4Dy1SHpn1ucCgFx5vLpYXVZFaZWlssibtwq9NuEJOOZS8QnJk6BXD3dbnA0ew
ja1753EEfPyt3t8=
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=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: mho-02-ewr.mailhop.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+Tvly7N7p0TVGl1YveZ+qt
Date: Mon, 10 Feb 2014 20:38:11 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Newbie Alias and Profile questions
Message-ID: <20140211013811.GA1867@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <52F979B0 DOT 2080604 AT ptd DOT net>
MIME-Version: 1.0
In-Reply-To: <52F979B0.2080604@ptd.net>
User-Agent: Mutt/1.5.20 (2009-06-14)

Can we have a moratorium on the term "newbie" please?  Please
just ask your questions.

On Mon, Feb 10, 2014 at 08:15:28PM -0500, 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.

http://lmgtfy.com/?q=what+is+%2Fetc%2Fskel%3F

>It is a minor thing that i can't clear the screen, but i want to work at 
>this and try to fix this.
>
>
>Then I want to add a script to my profile.   but what one the .profile 
>or .bash_profile ?

http://lmgtfy.com/?q=what+is+.bashrc

>Other that these problems, I am converting my Korn shell scripts to bash 
>under Cygwin and it is going pretty good so far.

These are all basic bash questions.  While I'm sure some kind soul will
help you further and we'll likely have a long thread discussing startup
files, you really should be investigating existing resources on the web
for bash.

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019