SHELL AND COMMAND LINE INTERFACE

Access the command line prompt from desktop

To access the DOS command prompt, click the Start button, click Run, type cmd in the Run text field, then press Enter. Often when opening the command prompt window, you'll automatically be placed into the (username) directory. Therefore you'll only need to type cd desktop to get into the desktop.

Define command shell

The command shell is the command processor interface.

Define Command Line Interface

A command line interface (CLI) is a text-based user interface (UI) used to view and manage computer files.

SHELL METACHARACTERS

>

Output redirection

<

Input redirection

*

File substitution wildcard; zero or more characters

||

OR conditional execution

#

Comment

$

Expand the value of a variable

use manual pages and info pages

Man Pages and Info Pages. A man page (manual page) is a help text for a command, system call, file format, or similar item. A man page is normally divided into various sections, such as name, syntax, description, options, and files.

Use shell variable in aliases

Akiases let you create shortcut to commands.

Main topic

Filename completion is a feature built into some Unix shells that allows you to type part of a filename or directory name and press a key to fill out the rest. In most shells, you can type only enough of the file's name to make it unique, and then press the Esc key to fill in the rest.

completion of command

Command-line completion allows the user to type the first few characters of a command, program, or filename, and press a completion key (normally Tab ↹ ) to fill in the rest of the item. The user then presses Return or ↵ Enter to run the command or open the file.

Type of Shell

BASH

C SHELL

KORN SHELL

TCSH SHELL

ALMQUIST SHELL

Shell configuration files

out of a shell.

Shell configuration files are executed automatically when you log in and out of a shell.