Skip to content

Instantly share code, notes, and snippets.

@iMikie
Last active July 9, 2019 17:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iMikie/dc4cad513673b723a606 to your computer and use it in GitHub Desktop.
Save iMikie/dc4cad513673b723a606 to your computer and use it in GitHub Desktop.
Ruby Newbie: seeing invisible files in Macintosh

How do you reveal all those dot files like .bashrc and .profile?

To see the invisible files, i.e. .bashrc and .bash_aliases etc.

Open Terminal For OS X 10.9 Mavericks or 10.10 Yosemite, run this command (lower-case finder):

    $ defaults write com.apple.finder AppleShowAllFiles TRUE

For OS X 10.8 Mountain Lion, 10.7, or 10.6, run this command (upper-case Finder):

    $ defaults write com.apple.Finder AppleShowAllFiles true

Notice the case changes Then run this command to restart the finder:

    $ killall Finder

Then exit Terminal, you will see the .files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment