Skip navigation

tr: Translating characters

tr: Translating characters: Unix for Mac OS X Users
tr: Translating characters: Unix for Mac OS X Users

Join for an in-depth discussion in this video tr: Translating characters, part of Unix for Mac OS X Users.

Resume Transcript Auto-Scroll
Skill Level Beginner
6h 35m
Show More Show Less

Q: The exercise files for the following movies appear to be broken:

Is there something wrong with them?

These exercises include one or more "dot files", whose file names start with a period. These files are normally hidden from view by the Finder.  So that they would show up in the Finder, the period has been removed from the file names. Additionally, "_example" has been added at the end of the file name to make it clear that the file will not work as-is. To make the dot files usable, either:

1) Open the file in a text editor to view its contents. Note that it may not be possible to double-click the file to open it because there is no file extension (such as .txt).
2) Resave the file under a new name (usually by choosing File > Save As), adding a "." to the beginning of the file name and removing "_example" from the end.


1) Copy and rename the file from the Unix command line using the techniques discussed in this course. Rename the file by adding a "." to the start and removing "_example" from the end. Include the "-i" option to prevent overwriting an existing file unexpectedly.
Example:  cp -i ~/Desktop/Exercise\ Files/Chapter_07/07_02_files/bashrc_example ~/.bashrc

Skills covered in this course
IT Operating Systems Mac OS X Unix

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now