Linux Common and Fun commands

Source: Internet
Author: User
Tags webp

Linux Common and Fun commands

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/83/DE/wKioL1d-YpTiw_2WAADYFSvJ_-M411.jpg "title=" 640. Webp.jpg "alt=" Wkiol1d-yptiw_2waadyfsvj_-m411.jpg "/>

There's no need to explain about date, so look at the diagram above and it should be understandable.

%y represents the year

%m represents the Month

%d = Day

When%h represents

And so on, there is time we will proofread time, then will use the NTP service, forget the small partners can review, for NTP just remember how to proofread the time of the command.

2. Commands to display the calendar:

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/83/DE/wKioL1d-YrWDaEk7AACy6nTFDlM019.jpg "title=" 640. WEBP (1). jpg "alt=" wkiol1d-yrwdaek7aacy6ntfdlm019.jpg "/>

Show log this wonderful order, perhaps only crooked nuts use it, anyway, I only look at the mobile phone.


3. Important several hotkeys [Tab],[ctrl]-c, [ctrl]-d


[TAB] Key---"Command completion"


[Ctrl]-c button---Let the current program "Stop"


[ctrl]-d button---usually let the command stop, equivalent to exit



4. RHEL6 The following versions switch execution level using init



Linux has a total of seven levels of execution, often using just a few


--run Level 0: Shutdown


--run Level 3: Plain text mode


--run Level 5: Graphics interface mode included


--run Level 6: Restart

Last time mentioned, RHEL7 in the start level has changed, forget the children's shoes in review:

As follows:

Set the default third start level

systemctl Set-default multi-user.target

Set the default fifth boot level

systemctl Set-default graphical.target

View the current default startup level

systemctl Get-default

Graphical.target


Public Number: xinsz08

Linux Common and Fun 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.