Linux Common Command Learning Path (updated daily)

Source: Internet
Author: User

Linux the way of learning

1 : Show Date command of Time: Date

date-> can show the week Month Day Time Division seconds years

Date +%y/%m/%d-> can show: Year / Month / Day ( Date must have at least one space behind it)

Date +%h:%m:%s-> Show: Hours: minutes: Seconds ( Date must have at least one space behind it)

Date +%h-> Show: Month (in English)

2 : Show Calendar commands: Cal:

Cal - Show calendar for the current month

Cal 2009-> Show the entire the the Calendar

Cal Ten 2009-> Show the years Ten Calendar of the month

3 : Simple and easy to use calculator command: BC

bc-> Enter calculator (can only show integer part) if you want to see the value of the fractional part, command: scale=3 ( can display three digits after the decimal point ) Exit Command: quit

4:tab key à fill command

The tab connection is followed by the first word of the string instruction, then the command complements the

When you tab to the second word of a sequence of instructions, the file is padded

5 : Ctrl + C: command termination key combination

6 : ctle+d: file termination key, equivalent to Exit

7:man+page+ file name : Online Query file ( search for dateàmanpage date) ( the man pa is good to master )

8 : View network connection commands: Netstat–a

9: To view the background Execution Program command: Ps–aux

Ten: write data to the instructions on the hard disk: Sync

One : shutdown Command: shutdown

: Restart Turn off the machine: reboot, Halt, Poweroff

: Auto Power off command: /sbin/shutdown–t ( sec ) –arkhncff Time ( warning Time )

Example:/sbin/shutdown–h ' t willshutdown after ten mins '

Linux Common Command Learning Path (updated daily)

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.