Hi ebene,
yes that are the commands. You can copy & paste them to the Terminal. The Input/Output looks like this:
Code:
Last login: Wed Mar 17 09:12:57 on ttyp2
Welcome to Darwin!
CodeBook:~ roger$ ls -l /Library/Java/Extensions/
CodeBook:~ roger$ ls -l ~/Library/Java/Extensions/
ls: /Users/roger/Library/Java/Extensions/: No such file or directory
CodeBook:~ roger$