Unix

The operating system (OS) of a computer is the system software that is responsible for file management (creating, copying, modifying, destroying files), process management, scheduling access to resources such as CPU cycles and RAM, and monitoring/configuring itself as well as the hardware. Users tell the OS what to do with the computer's hardware via a user interface (usually a "shell"; see below). These days, there are two main operating systems: Windows and Unix-like operating systems. Most astronomers work on computers that use a Unix-like operating system, at least for data analysis (maybe not for basic office-like stuff, paper writing). Mac OS X is a Unix-like operating system.

Graphical (file manager windows) vs text interface: most astronomers use text interfaces such as:

File organization:

Unix file/directory-related commands (italics mean you fill in desired quantity, square brackets mean optional parameter): Unix shortcuts: Unix help/references: Exercise 1: Creating/editing files: Looking at files Practice: Running programs: File permissions: Signals/job control: Let's do some exercises with starting and stopping jobs: Exercise 2

More UNIX utility commands:

Unix redirection and pipes Exercise 3: Create a file with some names and numbers, and practice sorting and awking! Exercise 3

Intermachine communication: Shells and shell scripts: Customizing your UNIX environment: Exercise 4: