Find the answer to your Linux question:
Results 1 to 8 of 8
Hi for installing RVM I must edit a file that its name is bash_profile but it isn't in ~ . where is this file ? please help me...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    5

    Where is bash_profile ?

    Hi
    for installing RVM I must edit a file that its name is bash_profile
    but it isn't in ~ .
    where is this file ?
    please help me

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    It is .bash_profile, not bash_profile
    You must always face the curtain with a bow.

  3. #3
    Linux User cyberinstru's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    362
    Hi -

    If not, you can create it under your home (~/).
    ---------------------------------
    Registered Linux User #440311
    HI2ARUN _AT_ GMAIL _DOT_ COM
    ---------------------------------

  4. #4
    Just Joined!
    Join Date
    Aug 2010
    Posts
    5
    yes , my mean is .bash_profile.

  5. #5
    Just Joined!
    Join Date
    Aug 2010
    Posts
    5
    Quote Originally Posted by cyberinstru View Post
    Hi -

    If not, you can create it under your home (~/).
    Excuse me in reference that I read it author writes :
    "he last part of the installation requires you to edit your ~/.bash_profile file. So, fire up your text editor and add the following line to the end.

    [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

    now you mean that I create a text file that its name is .bash_profile and write [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm to it ?

  6. #6
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    No idea what .rvm/scripts/rvm is or does, but if you do and want that: then yes
    You must always face the curtain with a bow.

  7. #7
    Linux User cyberinstru's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    362
    Yes. That is correct.
    ---------------------------------
    Registered Linux User #440311
    HI2ARUN _AT_ GMAIL _DOT_ COM
    ---------------------------------

  8. #8
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,304
    Seeing as noone has mentioned it, the . in front means it will be hidden.

    Apologies if I'm being way too obvious.
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

Posting Permissions

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