.bashrc in Mac

Discussion in 'Mac Apps and Mac App Store' started by vipuibor, Feb 16, 2009.

  1. vipuibor macrumors newbie

    Joined:
    Feb 16, 2009
    #1
    Hi all,

    I have a problem with the application Terminal. I would like to make some aliases but I don't know where to put them.

    I've been searching on net, and I've found that there should be a ".profile" file that works as the ".bashrc" in Linux, but I don't have that file either.

    I am new in Mac's World and I know it's a silly question, but I need help.

    Sorry if this is not the proper forum to put it.
     
  2. miles01110 macrumors Core

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
    #2
    Are you in the right directory? I have both .bashrc and .profile in ~/Users/<username>
     
  3. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #3
    Create it.

    But make sure it is not there first. In order to show hidden files do a ls -lsa in the home directory.
     
  4. vipuibor thread starter macrumors newbie

    Joined:
    Feb 16, 2009
    #4
    Yes, I am in the home directory, and I have neither .bashrc nor .profile. See the attached file.

    So I have to create it, but, why don't I have it?.
     

    Attached Files:

  5. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #5
    Because you don't. I didn't until I created them.

    I assume that Apple thinks 99% of users won't touch the Terminal and those that do know what they need to do to configure it the way they want.
     
  6. miniConvert macrumors 68040

    miniConvert

    Joined:
    Mar 4, 2006
    Location:
    Kent, UK - the 'Garden of England'.
    #6
    OS X has other ways of doing things. I created them myself.
     
  7. vipuibor thread starter macrumors newbie

    Joined:
    Feb 16, 2009
    #7
    Ok, sooo doubt resolved by now, thanks ;).

    I am sure I will ask a lot in this forum :p.
     

Share This Page