Article 4Y3BG [SOLVED] bash history word designator without an event specification

[SOLVED] bash history word designator without an event specification

by
doru
from LinuxQuestions.org on (#4Y3BG)
man bash
/^HISTORY EXPANSION
Quote:
If a word designator is supplied without an event specification, the previous command is used as the event.
How does this work? It makes no sense.
Code:~/tmp]$ echo a b
a b
~/tmp]$ :0
bash: :0: command not foundlatest?d=yIl2AUoC8zA latest?i=qSHj4Y79k60:DO7wck3CJ-k:F7zBnMy latest?i=qSHj4Y79k60:DO7wck3CJ-k:V_sGLiP latest?d=qj6IDK7rITs latest?i=qSHj4Y79k60:DO7wck3CJ-k:gIN9vFwqSHj4Y79k60
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments