The Command Shell
Fundamentals of Computer Science
The Command Shell Fundamentals of Computer Science Outline - - PowerPoint PPT Presentation
The Command Shell Fundamentals of Computer Science Outline Graphical User Interface Command Shell Starting the Command Shell Commands Compiling and Running a Java Program File Redirection and Piping Interfacing with your
Fundamentals of Computer Science
Starting the Command Shell Commands Compiling and Running a Java Program File Redirection and Piping
Today: predominant interaction method Windows, buttons, mouse Advantages Easier for novices No commands to remember Rich input and output capabilities
3
Originally the only option Input by typing commands Advantages: Can be faster for experts than a GUI Easier to automate tasks Easier to hook programs together
4
5
6
cd myfolder cd myfolder
cd .. cd ..
cd \Users\keith cd /Users/keith
dir ls
javac Prog.java javac Prog.java
java Prog java Prog
type Prog.java more Prog.java
<tab key> <tab key>
<up arrow> <up arrow>
7
8
Starting the Command Shell Commands Compiling and Running a Java Program File Redirection and Piping