Linux bash features (20170419)

Source: Internet
Author: User
Tags clear screen

Character processing commands

TR: Character conversion or character deletion command

-D: Delete all characters that appear in the character set

Bash and its features

Shell: Shell

Gui:gnome, KDE, Xface

Cli:sh, CSH, ksh, bash

The difference between a program and a process

Bash:

1: Command history

2: Pipeline, redirect

3: Command Alias

4: Command line editing

5: Command line expansion

6: File name wildcard

7: Support Variables

8: Support Programming (shell script)

command-line editing:

Cursor Jump:

CTRL + A: Jump to the beginning of the command line

Ctrl+e: Jump to the end of the command line

Ctrl+u: Delete the cursor to the beginning of the command line

CTRL+K: Delete the cursor to the end of the command line

Ctrl+l: Clear Screen

Command history:

View the execution command history:

-C: Empty history command

-d:offset[n]: Remove the command from the pinned position

-W: Save command history to File

Environment variables

Path: Command Search Path

Histsize: Command history size (buffer size)

The use of command history tips

! N: Execution of the nth rule of the command history

!: Executes the previous command

! -N: Executes the last nth of the command history

! String: The most recent command in the command history that starts with the specified string

! $: Reference the last parameter of the previous command

Features of command completion

Features of Path completion

Linux bash features (20170419)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.