Getting Started with basic concepts about Linux commands

Source: Internet
Author: User

Categories of commands:
Built-in command: The command that comes with the shell program,
External command: has independent executable program file
Use the type command to distinguish between a built-in command or an external command

The composition of the command:
Command + options + parameters
Options are divided into:
Short options:-l-d, etc., short options can be combined write,-ld
Long option:--help

参数:命令作用的对象ls -ld /bin查看命令的使用帮助help  command

Command--help
Mans command

Man Manual: A total of 8 chapters;
/usr/share/man
Man1 ... man8
Man1: User command Use Help
MAN2: System invoke use Help
MAN3:C Library Call Usage Help
MAN4: Device files and special file use Help
MAN5: Configuration file format usage Help
MAN6: Game Use Help
MAN7: Miscellaneous Use Help
MAN8: Managing commands for classes, managing tools using Help
#man Chapter Command
Note: Not every command has a manual under all chapters;

Man queries out the manuals, if more:
Tap the space bar: turn down the screen
B: Flip the screen to the header
#g: Jump to a specified line
Keyword search function:/keyword, starting from the first search;
? Keyword search from the rear

q :退出       查看某个命令在哪些章节有手册,使用:                 #whatis comman

Several basic commands:
Tty, view current terminal equipment
Ssh IP address: Pseudo terminal command to connect to Linux terminal
IFCONFIG\IP Add list: View IP address
Echo: Echoes the echo character, "Hello word", which shows Hello Word, or add variable, ¥
Ping IP address, press CTRL + C to terminate command execution
CTRL + C: can terminate execution or delete vanity line
Shut down: ~ "#systemctl poweroff, or Poweroff, halt
Reboot: ~ "#systemctl reboot, or reboot

Getting Started with basic concepts about Linux commands

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.