Using Javafrom the Linux shell (command line)
Part of
CS:2820, Object-Oriented Software Development,
Fall 2015
|
Prerequisite: Open a Linux termial window (using an SSH client such as PuTTY or SSH, or use FastX to open a remote linux desktop and then open the terminal application on that desktop).
You have a choice of many text editors to work with source and data files. Some are clumsy but almost self-teaching such as pico and nano. The classic editors used by many developers, emacs and vi, can be hard to use. For help with any shell command, use the command man; for example, type man pico.
The following shell commands matter to Java programmers:
Advice: When you create large programs consisting of many classes, dedicate a sub-directory to the project. If your project is named, for example, project the following shell commands will be useful:
Configuring the vi editor: The vi editor has many options:
You can put configuration options in your .vimrc file; one option per line without leading colons.