Start learning Linux with me from a simple command

Source: Internet
Author: User
Tags clear screen

a few Linux simple Command

command to display date and time:date

commands for displaying calendars: cal

Easy-to-use calculator:BC


650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/9D/CB/wKiom1mGggHyw2NdAAAMDZ2g4pU544.png "title=" Qq20170806104133.png "alt=" Wkiom1mggghyw2ndaaamdz2g4pu544.png "/>

If you want to print 2017/8/6

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/9D/CB/wKioL1mGgnPzryotAAALSAsZGq0148.png "title=" Qq20170806104331.png "alt=" Wkiol1mggnpzryotaaalsaszgq0148.png "/>

Here is not to think that Linux is not so magical, (^-^), want to have a small partner has a problem, if each command is the same as many of the parameters above, so do, do not worry, the following will tell you to use the manual to check these parameters

Next we look at cal: calendar display

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M02/9D/CB/wKiom1mGg5ihsKFtAAAcnbha888236.png "title=" Qq20170806104822.png "alt=" Wkiom1mgg5ihskftaaacnbha888236.png "/>

This shows today's date, today is the number, don't say you do not understand, here can not help you

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/9D/CB/wKioL1mGhD-yBxKVAAAxLNhYHDw705.png "title=" Qq20170806105050.png "alt=" Wkiol1mghd-ybxkvaaaxlnhyhdw705.png "/>

This shows the monthly calendar for the whole year.

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/9D/CB/wKiom1mGhLHxNJmrAAAUjWT58dE114.png "title=" Qq20170806105306.png "alt=" Wkiom1mghlhxnjmraaaujwt58de114.png "/>

Use Cal 8 2017 to display a 2017/8 month calendar.

Is there 1 April in 2017 years?

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/9D/CB/wKioL1mGhSjjFC5ZAAAOCPemlKc789.png "title=" Qq20170806105501.png "alt=" Wkiol1mghsjjfc5zaaaocpemlkc789.png "/>

Wrong month, please use 1-12 months such information, what, you think I read English, ha, all by guessing, meaning I also do not understand, almost that means, in the terminal words can be copied down to the Youdao

Next up is a calculator. BC:

Operator Support: +-*/^% ... What do these characters mean to say, do not understand still choose degrees Niang

650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M02/9D/CB/wKiom1mGhvbwQkK_AAApm0aWzdE104.png "title=" Qq20170806110247.png "alt=" Wkiom1mghvbwqkk_aaapm0awzde104.png "/>

Input BC will show a large segment of the information, first of all, the version number, the other I do not understand, not much to say (the English dregs home (-_-!!) )

Input 1+2 Press ENTER, the result is displayed, but the result of this calculation is an integer, if the results of the calculation to show the decimal point, then you enter, scale=2 specify to retain two decimal places

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M02/9D/CB/wKiom1mGiEyS2RmBAAAIQD4PWPU687.png "title=" Qq20170806110824.png "alt=" Wkiom1mgieys2rmbaaaiqd4pwpu687.png "/>

Isn't it amazing?

If you want to exit this, enter quit directly, O (∩_∩) o ha! , you learned a lot of English words in learning Linux.

The above a large section of content knocked down, I believe that the small partner a bit of egg pain, the input has been at the bottom of the strange upset, and here to tell you a clear screen command:clear

As I said earlier, this is the option parameter for the command, which is to use the man command: Use the format man date

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/9D/CC/wKiom1mGiiTQeu19AABtUuB1Zzs983.png "title=" Qq20170806111615.png "alt=" Wkiom1mgiitqeu19aabtuub1zzs983.png "/>

This shows the options for each command and other information, the specific situation can be self-Baidu, this way I will not say, hold feet of English, ╮(╯▽╰)╭

Today, this is the first time to write a blog, I hope you less spray, \ (^o^)/~




This article is from the "Xiao Xie" blog, please make sure to keep this source http://xiaoxiezaijia.blog.51cto.com/12499483/1953944

Start learning Linux with me from a simple command

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.