This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Newbie Alias and Profile questions
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 10 Feb 2014 20:38:11 -0500
- Subject: Re: Newbie Alias and Profile questions
- Authentication-results: sourceware.org; auth=none
- References: <52F979B0 dot 2080604 at ptd dot net>
- Reply-to: cygwin at cygwin dot com
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