我正在使用Ubuntu,我想重复我执行的一系列命令.我试过类似的东西
for i in $(seq 2006 2013); do \!$i; done;
但失败了,因为shell试图执行命令'!2006'.
man history
也没有向我透露如何重复一系列命令.
linux shell ubuntu history
history ×1
linux ×1
shell ×1
ubuntu ×1