Maybe there is a tool that does that? Maybe I'm doing this all wrong and there is a different way I should browse?

you are viewing a single comment's thread
view the rest of the comments
[–] 19 points 1 day ago (1 child)

!!:n where n is the nth word after the command in your last line

cp file1 file2
nano !!:2

Here nano opens file2.

  • source
  • parent
  • hideshow 1 child comment