类别 全部 - interface

作者:muhd azzim 6 年以前

292

shell

Unix shells offer a feature known as filename completion, which allows users to type part of a filename or directory name and press a key to complete the rest. Similarly, command-line completion lets users type the initial characters of commands, programs, or filenames and use a key, usually Tab, to finish the input.

shell

SHELL AND COMMAND LINE INTERFACE

Shell configuration files out of a shell.

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

Type of Shell

ALMQUIST SHELL
TCSH SHELL
KORN SHELL
C SHELL
BASH

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.

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.

Use shell variable in aliases

Akiases let you create shortcut to commands.

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.

SHELL METACHARACTERS

$
Expand the value of a variable
#
Comment
||
OR conditional execution
*
File substitution wildcard; zero or more characters
<
Input redirection
>
Output redirection

Define Command Line Interface

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

Define command shell

The command shell is the command processor 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.