Method for rapidly executing previous command and replacing named parameters
A technology for executing commands and parameters, applied in the direction of machine execution devices, etc., can solve problems such as time-consuming and unavailable commands, and achieve the effects of speeding up work efficiency, improving humanized experience, and increasing richness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0009] The content of the present invention is described in more detail below:
[0010] The present invention realizes the process of acquisition of the last command, parameter replacement and command execution through an execution file that can input parameters. The specific implementation is as follows:
[0011] 1) Obtain the value of the environment variable $HISTTIMEFORMAT in the shell to determine the output mode of the history command; and then obtain the complete last execution command by intercepting the output of the history command. Convert this execution command to a space as a separator, convert it to an array array, and obtain the length of the array at the same time
[0012] 2) Obtain the two parameter values input by the user, and judge the parameter value input by the user, there are the following four situations:
[0013] If the parameter value is empty, the previous command will be executed directly without further execution
[0014] If the parameter is ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com