Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Open hidden UNIX files in the GUI UNIX
This tip allows for easy editing of files such as ~/.tcshrc or ~/.bashrc, so you can click an icon in the dock, and the file will open in TextEdit. Read the rest of the article if you'd like the step-by-step instructions.

The steps involved are:

1. In TextEdit, choose Open from the File menu, and in the box labeled "Go to:" near the bottom, type ~/.tcshrc (or ~/.bashrc if your using bash) and hit return.

2. Drag the generic document icon in the title bar to the Dock.

3. On the new Dock item you just created, click and hold to select "Show In Finder"

4. A new Finder window should have just opened, and a file named "Private" should be selected. Show Info for this menu (under File, or Command-I).

5. On the "Show:" pop-down menu, go to Application.

6. Select "Add Application" from the menu in the big button (under "A specific application"). Change "Show: Recomended Applications" to "All Applications". Select TextEdit and click Add.

7. If you would like this file to have a custom icon, rather than a generic one, now is the time to add one via cut & paste. If you do so, you will need to drag the icon out of the Dock, and drag it back in to get the new icon to show up.

8. Click the icon in the Dock to see it (hopefully) open in TextEdit.

I hope this tip will satisfy the need of some people to edit hidden "." UNIX files in a much easier way.
    •    
  • Currently 3.25 / 5
  You rated: 3 / 5 (4 votes cast)
 
[7,098 views]  

Open hidden UNIX files in the GUI | 0 comments | Create New Account
Click here to return to the 'Open hidden UNIX files in the GUI' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.