[an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] Skip to the content of the web site.

Shells

Contents Previous Topic Next Topic

Unlike Windows where Microsoft has decided the behaviour of the default Command Prompt, Unix has a number of different terminal programs (called shells) which may be used to perform additional operations.

Two of the most common shells used today are bash and tcsh. While the former is shipped with Linux, I still prefer the second, tcsh.

tcsh

The tcsh allows you to use command and filename completion using the Tab key. Thus, you may begin by typing out an existing file name, and pressing Tab will complete the name for you. For example, suppose you had SingleList.h and SingleNode.h in one directory and you would like to edit SingleList.h. The following would occur if you hit the sequence S<Tab>L<Tab>.

{ecelinux:1} gvim S<Tab>    → Single
{ecelinux:1} gvim SingleL<Tab>    → SingleList.h
Contents Previous Topic Next Topic

Copyright ©2005-2012 by Douglas Wilhelm Harder. All rights reserved.

[an error occurred while processing this directive]