DISQUS

Tech-Recipes: OS X: Easily edit hidden configuration files with TextEdit | Mac system administration | Tech-Recipes

  • davak · 2 years ago
    /middle finger.

    :D
  • fin13 · 1 year ago
    Thanks for this! This is really helpful for newbies that are interested in learning new things.
    I do have a question. I can't find a .profile file in my user. I am running Leopard and I have looked every where for the file. I have managed to look at all the hidden files but no luck.

    Any suggestions
  • Quinn McHenry · 1 year ago
    Try looking for .bash_profile in your home directory (/Users/yourusername/.bash_profile). In my Leopard install, .bash_profile is used. I don't have a Tiger (version 10.4) installation around to check, but I suspect this may have changed in Leopard. I have both files in my home directory, but I checked and only .bash_profile is used when a shell starts.

    It isn't a problem if the file doesn't exist. You can create the file in your home directory and it will work. To make sure that it is working, you can place a temporary echo command in the file, something like:

    echo "running .bash_profile!"

    When you run the Terminal app to start a shell, you should see that text printed out.
  • Aron Grinshtein · 11 months ago
    Thanks I was trying to set up RoR using Dan Benjamins install and you helped me figure out how to find the .profile file. Thanks.