Linux Learning 01_ Basic command Introduction

Source: Internet
Author: User

Beginner Linux, still groping in the process, in the hope to record the learning of the things, reference to the book of "Brother Bird's Linux private dishes"

Here are a few of the main commands learned here:

Data CALBC Mans shutdown Sync

1. Basic command operation

Data----commands for displaying dates and practices

Cal----commands for displaying calendars

BC----Simple and Useful calculator command

  

1 Data 2     Displays the current Linux system time: data 3     Displays Date: Data +%y/%m/%D  4     display time: Data +%h:%  M  5  6cal  7     basic syntax: cal [[month] year]  8     Display System current month: Cal  9     Ten BC  One     Note: The QUIT command indicates exiting the BC calculator, while the Scale=number command, where number is the count of digits after the decimal point

2. Important Hotkeys

"tab"----commands and file completion

"Ctrl" +c----force to stop a running command

"Ctrl" +d----used instead of exit shortcut keys

3. Online Help: Man info

Man is a shorthand for manual (operating instructions)

4, the key shutdown method

Our customary shutdown method is shutdown, and the reboot, Halt, and Powerroff commands are commands for restarting and shutting down the machine. Here, remember the common ones.

  

shutdown Syntax Rules:    shutdown [parameter] [TIME] [warning message]        -Hnow-R now

Also run the sync command before shutting down: Write data synchronously to disk

Linux Learning 01_ Basic command Introduction

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.