dot.bashrc, where is it?

Robert Storey y2kbug at ms25.hinet.net
Wed Jun 4 00:33:45 PDT 2003


On Tue, 3 Jun 2003 16:04:53 +0200
"Didier Wiroth" <freebsd at mcesr.etat.lu> wrote:


> For a beginner (coming from a windows world) who doesn't know which shell is
> better, sorry more adequate, it is easier to have a sample config file, to
> start learning how to configure you shell!
> 
> Didier

Dear Didier,

Here's what I've put in my ~/.bashrc for all users (including root):

  alias rm='rm -i'
  alias cp='cp -i'
  alias mv='mv -i'
  set -o noclobber


While you're at it, here's what I added to ~/.profile for everybody as well:

  PS1="\u@\h:\w> "
  export PS1

Let us know if you have any specific questions about what these commands do.

regards,
Robert





More information about the freebsd-questions mailing list