sebastian
asked May 18 2017
Answer
There is a Special Symbol (!) for this. In case you need to run 251th command, do as follows.
# !251
It will run the command in that number.
jagannatharumugam
asked May 18 2017
edited Oct 05 2018
how to run 251th command from history in linux
In history command, there are 1432 commands. But I need to 251th command from that. Since i am using minimal i cant copy paste and also its hard to press up key for long time.
Is there any shortcut for that?