Shell parameter command

Source: Internet
Author: User

Shell parameter command
1 .!! Previous command 2 .! : 0. Name of the First Command without parameters 3 .! ^ The first parameter of the previous command 4 .! : N the nth parameter of the previous command. 5 .! $ The last parameter of the previous Command 6 .! * All parameters of the previous command, except the command name 7 .! N command n 8 .! -N: The last n commands 9 .! Str the latest command starting with str 10 .!? Str the latest command containing str 11. ^ a ^ B replace a in the previous command name with B 12 .! : Gs/a/B replace all a in the previous command with B (including the command name and parameter)
 

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.