Spring 2016
cd public_html/ // move down a level into the public_html directory cd .. // move up a level back into the enclosing directory cd // move to your home directory
// move java file into lab0 directorymv HelloWorld.java lab0/ // keep java file where it is, but rename it mv helloworld.java HelloWorld.java
lshw1/ lab0/ lab1/ // directories within public_html, for example
less HelloWorld.java// this should bring up your code q // quit viewing the code
Very useful! The tab key helps auto-complete folder and file names as you're typing them. For example, if you wanted to access HelloWorld.java, you could start by typing "H", then hit tab to complete the word.
Also very time-saving, if you want to access or modify a command you've typed before, you can use the arrow keys to scroll through the commands you've already used.