You type Unix commands in a "shell". You can open a shell in Mac OS X by starting the Terminal application.
A Unix command consists of the name of the commands and one or more options or arguments. No parenthese are used in the commands
The following symbols may be used in arguments to Unix commands
/~~/Documents refers to a directory called "Documents" within the
user's home directory.
...../Documents refers to a directory called "Documents" that is a sister of the current directory.
*
The wild card character; it matches character or sequences of characters.
So *.java refers to all files that end in .java.
Here are the most important commands you will need.
pwdcdcd Documents/Java changes to a directory "Java" within a directory called "Documents" that is in the current directory.
Within an argument, changes to the user's home directory.
ls-l option, it gives more information about the files.
mvcprmmkdirjavacjavamain method in the class that is named.
The argument does not have the .class extension.
javadoc