Some common but not memorable commands in linux

Source: Internet
Author: User
In linux, the set command, which is commonly used but not easy to remember, can be used to customize the shell environment and enable or disable the option using option o. For example, enable option: set-o option, and disable option: set + o. The shopt command is an alternative to the set command... in linux, the set command, which is commonly used but not easy to remember, can be used to customize the shell environment. the option "o" is used to enable or disable the option. For example, enable option: set-o option, and disable option: set + o. The shopt command is an alternative to the set command, which is similar to the set command in many aspects, but it adds many options. You can use the "-p" option to view the shopt option settings. "-U" indicates a reset option, and "-s" indicates that the option is currently set. $ * ---- All parameters of shellscript $1, $2... ---- shellscript or the first and second of the function... parameter $ # ---- number of parameters of the previous command or shellscript or function $ is basically the same as $ *, but is not affected by IFS $0 ---- shell script name
Related Article

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.