Linux Base command operations

Source: Internet
Author: User

Display date and time: Date

    • Date +%y/%m/%d
    • Date +%h:%m

Show Calendar: Cal

    • Show a full year (Cal 2009)
    • Displays a one month (Cal [[month]] year) for a given period, such as Cal 10 2009

Easy to use calculator: BC Qiut is leaving this calculator

    • BC only outputs integers by default, and if you output all decimals, you must execute Scale=number,number, which is the number of digits behind the decimal point

Important hotkeys

    • [Tab] is followed by a string of bright first commands, which is the command complement
    • [Tab] After the second bright of a string of commands, is the file completion
    • [Ctrl]+c interrupts the current program
    • [ctrl]+d equivalent to input exit

Man is a shorthand for manual, operating instructions

    • After entering the man command, you can press the SPACEBAR to page down and press the Q key to leave the man environment.

common numbers and meanings

    • 1 commands or executables that users can manipulate in a shell environment
    • 2 functions and tools that can be called by the system kernel
    • 3 some commonly used functions or libraries, most of which are C libraries
    • 4 description of the device files, usually files in/dev
    • 5 configuration files or the format of some files
    • 6 games
    • 7 Formula and agreement
    • 8 Administrative commands available to system administrators
    • 9 Documents related to kernel

Man page Common keys

    • SPACEBAR to turn down one page
    • Page DOWN pages
    • Page UP pages up
    • Home go to the first page
    • End go to the last page
    • /string query string string down
    • String up query string
    • N,n
    • Q End of this man page

Linux Base command operations

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.