ABSTRACT

This chapter explains how to write, compile, and execute programs in Linux. We use a Linux terminal and explain the commands you need to type. Why do you learn how to use the terminal? First, the terminal is a flexible and convenient interface for working with a computer. It may take some experience to realize this, but learning how to use the terminal may improve your productivity. Second, many cloud computing or web services offer terminal access. This is a natural method of providing computing resources, especially when working with many computers (like in a data center). A graphical user interface (GUI) is nice when working with one computer. However, when dealing with many computers, GUI can become a distraction. Also, using the terminal helps you understand how UNIX systems work. After becoming familiar with terminal commands, you may understand integrated development environments (IDEs), and what they can do for you. The Eclipse IDE is explained later in this book.