Linux Learning Path: 2. Basic instruction (1)

Source: Internet
Author: User

The previous chapter talks about the installation, and bloggers are going to talk about it here. I installed the interface version of the CENTOS7, Terminal basic instructions, basically can be implemented, but the download software shows failure.

So, based on the above, I have reinstalled the minimum installed version of CENTOS7. Let me tell you the basic instructions I have learned.

First, the basic instruction operation: Cal;bc;date

1.cal: Show Calendar

The effect is as follows:

2. Date: Show Dates

The effect is as follows:

3.BC: Calculator

When I ran here, there was a problem.

-bash:bc:command not found

When this happened, I checked it out.

BASH: Indicates shell, current shell is BC

The three possible causes of command not found appear to be:

1) This command does not exist, or the software is not installed, in this case, it is necessary to install the software

2) The directory where the command is located the current user does not add him to the command search path (this one I do not understand, only to start learning)

3) Instruction input Error

Then I went to Baidu a bit, I found that my situation is the first, because it is the smallest installation, this calculator instruction did not, so in advance with a statement installed BC

Yum Install BC

The calculator is installed, so now it's ready to use. The effect is as follows:

Second, important hotkey: Tab;ctrl+c;ctrl+d

1.Tab: Complete instructions, document completion

1) Complete Instructions

For example, I want to look at all the instructions at the beginning of the CA, I'll enter the CA and press the TAB key twice.

Effect

2) document completion:

For example, I'd like to have a look at. Bash starts with all the files, so I typed Ls-al~/bash and then press TAB twice

Effect

2.Ctrl (HOLD) +c: Interrupt Current program

3.ctrl+d: keyboard input End

Linux Learning Path: 2. Basic instruction (1)

Related Article

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.