Home  >  Article  >  Operation and Maintenance  >  How to repeatedly execute the last command run in linux

How to repeatedly execute the last command run in linux

王林
王林Original
2020-04-30 10:08:517471browse

How to repeatedly execute the last command run in linux

Execute the command just executed:

!!

(Video tutorial recommendation: linux video tutorial)

Execute the latest one Commands starting with a specified string (such as man)

!man
!m

Reference the last parameter of the previous command

!$
<ESC>, .

Recommended tutorial: linux tutorial

The above is the detailed content of How to repeatedly execute the last command run in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn