Linux Command Learning (updated daily)

Source: Internet
Author: User

Cal: Calendar date: Date BC: Calculator (Scale=number, that number is the decimal digit) echo $LANG (language) $PATH (environment variable) ...Sync:Synchronizing data to the hard diskShutdown:The usual shutdown instructionsreboot, Halt, Poweroff: restart, power off Shutdown-t sec:The number of seconds after-T, which means "turn off after a few seconds"-K: Don't really shut down, just send a warning message out!-R: Re-cookbook after stopping the system's friends (common)-H: After the system's friends stop, Li Shaw shut down the machine. Common-N: Do not go through the INIT program, directly to the shutdown function to shut down the machine-F: Power off shipowner Boot cookbook, forced to skip the disk check of fsck-F: Force the disk check of import line fsck after the system restarts cookbook-C: Cancels the contents of the shutdown led that have been made on the import line. CHGRP: Change the file belongs to the group Chown: Change the file owner chmod: Change the file permissions, SUID, SGID, Sbit and so on features CD: Transform directory pwd: Show current directory mkdir: Create a new directory rmdir: Delete an empty directory LSCP: Copy RM: Delete mv: Move, rename basename: Get file name dirname: Get directory name cat starts with the first line displaying the contents of the file the TAC starts with the last line, and you can see that the TAC is written backwards! NL display time, by the output line number! More page by page show the contents of the fileLess is more similar, but better than more is that he can page forward! Head just a few linestail just look at the end of a few linesOD reads the contents of the file in two import!Touch:Modify the file time or build a new file Chattr: Set the System hidden properties, only in the EXT2/EXT3file system is active abovelsattr; View System hidden propertiesumask:File preset permissions chattr: Profile hidden Properties (+i parameter)file : Observe the types of filesWhich/type: Search for script file nameswhich: Search in the environment variable, type: Can search the system built-in and command. file name search: Find (infrequently used, slow, cost hard drive), Whereis,locate (use database search, fast, no hard disk search)updatedb: Updating the database(not to Be continued ~ ~)

Linux Command Learning (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.