problems with .bashrc

From: fudo (fudo_at_spamblocked.com)
Date: 04/13/04

  • Next message: Brad Waite: "How do you increase the size of lost+found?"
    Date: Tue, 13 Apr 2004 14:09:42 -0700
    To: freebsd-questions@freebsd.org
    
    

    I'm new to FreeBSD, and to bash. I'm running FreeBSD 5.0, and added
    bash from the cd during install. There are .profile and .shrc files in
    my home directory; .profile references .shrc with ENV=$HOME/.shrc;
    export ENV. There are several uncommented alias lines in the .shrc
    file, but none of them work. From what I've read, bash should read
    .profile and .shrc, but just in case, I tried copying them to
    .bash_profile and .bashrc, changing ENV to =$HOME/.bashrc, and renaming
    the original files, but the aliases still don't work. Aliases are
    formatted: alias ll='ls -laFo'; entering that at the prompt and it
    works fine. Seems like bash isn't reading the rc file. Obviously, I'm
    missing something; any suggestions appreciated. Thanks.

    fudo@spamblocked.com

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Brad Waite: "How do you increase the size of lost+found?"

    Relevant Pages

    • Re: root profile
      ... example: after installing vsifax, /etc/profile has this: ... -shudder- bash, have you looked for .kshrc and .bashrc? ... one difference of 5.0.7 is that user home directories are ... .profile or perhaps less likely things like /etc/default/login. ...
      (comp.unix.sco.misc)
    • Re: problems with .bashrc
      ... Seems like bash isn't reading the rc file. ... I think what is happening is the aliases in .shrc are not read directly by ... Non-login interactive bash shells (when changing or starting new shells ...
      (freebsd-questions)
    • Re: starting X (as user)
      ... These aren't X problems, they're basic UNIX problems. ... How did you create the user account? ... It could also be that bash doesn't read .profile, ...
      (comp.unix.bsd.netbsd.misc)
    • su difference between 2.6 and 9 with bash 2.05
      ... As root: ... I do NOT get the PATH of the user as set in its .profile, ... behavior is OK, I mean, I get the .profile's PATH with bash. ... I have to manually source the .profile in ...
      (comp.unix.solaris)
    • Re: No sourcing of ~/.profile at login
      ... On Tue, 16 Sep 2003, Torsten Reuss wrote: ... >.profile is not parsed if a .bash_profile exists. ... >bash version this behavior was introduced, ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
      (Debian-User)