Find the answer to your Linux question:
Results 1 to 6 of 6
Setting up .bashrc in my ~/ is doing nothing and apparently is being ignored by some other profile. If I recall correctly it was working as it should until I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803

    .bashrc over ridden by ?


    Setting up .bashrc in my ~/ is doing nothing and apparently is being ignored by some other profile. If I recall correctly it was working as it should until I installed kde but I'm not at all sure: perhaps /etc/profile? Anyone know what's up?

    ron
    registered Linux user #388382

    Have you checked here first?

  2. #2
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    Maybe /etc/bash/bashrc
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  3. #3
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803
    The only *bashrc that exists it the one i created in ~.

    Thanks for the suggestion though.

    ron
    registered Linux user #388382

    Have you checked here first?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    Are you sure that's the correct file? I always forget which file does what, but .bash_profile and .bashrc are used for different things, one is for a login shell and the other an interactive shell. The equivalent system wide files should be bashrc at /etc and /etc/profile, respectively.
    "Today you are freer than ever to do what you want, provided you can pay for it!" --Bad Religion

  6. #5
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803
    /etc/profile is the only file here aside from the .bashrc that I created. I've had it working previously with slack but something changed. I suppose I can modify /etc/profile but sure like to figure out what's going on. I know that some apps will over-ride .bashrc but I did have it working before!! I just want to add some aliases so no big deal but that's not the point now .

    thanks, ron
    registered Linux user #388382

    Have you checked here first?

  7. #6
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803
    RESOLVED...

    kde takes precedence over ~/.bachrc so I assume kde profile is the place to make the changes. Did'nt test it out though since I use fluxbox almost exclusively.
    registered Linux user #388382

    Have you checked here first?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •