Linux Bash command-line basic operations

Source: Internet
Author: User

Shell

Shell We called shell, we know that the operating system is the bottom of a kernel kernel, the kernel is used to implement all the upper-level services, all the upper command, the upper application needs some basic functions, such as network connection, network communication, such as keyboard driver, mouse driver, for example, our system scheduling, Memory management, etc., is done by the kernel of the operating system. But kernel we have no way to direct control, this time we need the shell to complete, the shell is the user's instructions to pass to kernel, translated into kernel can understand some of the information, so we can say that through the shell to control the operating system.

Command structure

Commands are generally divided into three parts: command option parameters

Running in the background

Any command + space +&, indicating the command to run in the background

History

Use history to view historical commands

CTRL + Z

Ctrl+r Smart Search History command (very useful)

Su

User Switching: Su-username

Sudo

Execute a command with the administrator sudo + command

passwd

Modify Current user password: passwd

CTRL + Z

Suspend program: CTRL + Z

Bg

Let the process run in the background: bg+ process number

Fg

Let the process run in the foreground: fg+ process number

Linux Bash command-line basic operations

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.