If you want to do something with that 2nd file with the scary name, it's easy to just type:Īnd it will fill in all the junk necessary for you.įor the 3rd and 4th files, since their names are so similar you really just need to type out the full names. In the 2nd case, after typing those two unique letters and tabbing, the rest of the file name will be completed. choose a name for the application you're building, including a file path. Let's say you want to use the 'less' command to view the contents of aFile. use by Java developers to make their programs more Mac - friendly, but Mac. For Java 7 it was also in the same area: /Library/Java/JavaVirtualMachines/jdk1.7.051.jdk/Contents/Home/. For example, let's say you have a directory with the files: This has changed over time, but if you're using Mac OS X 10.9 or newer (now macOS ), your JDK/SDK JAVAHOME location for Java 8 will be something like this: /Library/Java/JavaVirtualMachines/jdk.jdk/Contents/Home. all it means is that when you've typed part of a word and then push 'tab', the shell will try to complete the rest of the word in an intelligent way.
Tab-completion is really useful anywhere in the shell though.
Your default shell should be set up for tab-completion, which makes typing these ghastly escape sequences easier (i.e., helps to make all those backslashes).