Quantcast
Channel: How to execute consecutive commands from history? - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 7

How to execute consecutive commands from history?

$
0
0

Suppose I want to execute a sequence of four commands that I have executed before. If the first one is 432 in the command-history, then I could do:

$ !432; !433; !434; !435

I'm curious, is there a more efficient way to accomplish this?


Viewing all articles
Browse latest Browse all 7

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>