Common Unix Shell Commands

Starting and Ending File Management Communication Information Printing Job Control The following is a short list of most basic Unix shell commands users will need. For more information, try man command or man -k text to search for possibilities.

Passwordless Connections to Unix

The Secure Shell (SSH) protocol uses encryption to provide authentication and privacy when logging in to other computers over a network, such as Romulus, Remus, or the Computing Cluster. It can also be used to securely execute remote commands. By default logins use a password, but it's also possible to set up passwordless connections. The latter are very convenient, and are also required to initiate remote commands. However, for security reasons they should not be used from computers that are accessible to others.

Windows SSH: PuTTY

PuTTY is an open-source SSH client for Windows that lets you initiate interactive command-line sessions with Romulus and Remus, the twin Amherst Unix servers. How to Get PuTTYPuTTY is free software. If you are on the Amherst network you can copy it from Winsoft to your Windows computer. Note that PuTTY doesn't "install" as do most Windows applications. Rather, it is a self-contained executable named putty.exe. All you need to is copy it to your Windows desktop and double-click to run it.

Using the Emacs Text Editor

The emacs text editor is a common editor on Unix systems, and beginning users often find it easier to learn than vi (which is universally supported on UNIX systems). We recommend that programmers have a basic understanding of using emacs to edit text files. This document covers only the basic emacs commands needed for simple text editing. Therefore, it ignores many commands and offers only simplified explanations of others. The complete emacs command set is much larger and more powerful, but also more complicated.

Pages