Get the App
SLTechnology News&Howtos  ›  Servers  › 

Linux repeats the last run command

Shulou Source: shulou.com Published: 2022-06-03 06:15:10 09月21日 Update

Execute a command that has just been executed:

!!

Execute the most recent command that begins with a specified string (such as man)

! man!m

Reference the last parameter of the previous command

! $,.

These are the details of how to repeat the last run command in linux, please pay attention to other related articles!

Tags: Commands previous run content parameters characters strings that is beginning article more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Apple NVidia macOS Linux