Home » Questions » Computers [ Ask a new question ]

bash bang - full line except last arg

bash bang - full line except last arg

How do I do a bang command to repeat last line, but with changed last argument?

Asked by: Guest | Views: 214
Total answers/comments: 1
Guest [Entry]

"Try:

!!:0- new_last_argument

See this article for an overview."