-2-linux Foundation of Laboratory Building (1)

Source: Internet
Author: User

Terminal: Essentially corresponds to the/dev/tty device on Linux

Shell: Open terminal, Shell will open automatically

Can be entered directly at the terminal: echo "Hello World"/*shell program Autorun */

Important Shortcut keys:

(1) TAB: completion (including parameters)

(2) Ctrl + C: Forced termination

Ctrl+d Keyboard input end or exit terminal
Ctrl+s Pause, press any key to resume
CTRL + Z Background run, restore to foreground command: FG
CTRL + A Home
Ctrl+e End
Ctrl+k Delete all content at the end of the cursor
Alt+backspace Delete a previous word
Alt+pgup PgUp
Alt+pgdown Pgdown

(3) wildcard characters

* Match any character
? Match a character
[List] Match any single character in the list
[!list] Matches any single character in a non-list
[C1-C2] Matches any single character from C1 to C2, such as [0-9],[a-f]
{C1.. C2}

Matches all single characters from C1 to C2, such as {1-6}

{String1,string2,.......} Match all string characters

(4) Man commend_name: Get a detailed description of the command

The Man command manual is divided into 8 sections, each section has a part of the introduction, according to the requirements of the selection section

Man 3 printf/* View printf Library functions */

The Manual of the Man command also has a specific search function, which is a little bit here.

(5) Commend_name--help/*get help*/

(6) Fun instruction =. =

Banner

sudo apt-get update;sudo apt-get install Sysvbanner

Banner string

Printerbanner-w string

/*similar Commends:toilet, figlet*/

-2-linux Foundation of Laboratory Building (1)

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.