Skip to main content

Editing files

Using Hamilton will involve a lot of typing and creating/editing files. There are a selection of editors installed on the system.

The standard powerful (but complicated) editors are provided, such as vim and emacs, but we also provide a number of easier to use alternatives:

The simplest editor is the nano command.

  • To open or create a file called job_script.sh: nano job_script.sh
  • To save a file, press Ctrl-O
  • To exit, press Ctrl-X

Figure 1: nano

Nano screenshot

A simple graphical editor is the gedit command.

Figure 2: gedit

Gedit screenshot