Skip to main content

I know you can use the last argument passed to last the last command by hitting Alt-.Alt-.. Is there a similar binding to get the output of the last command, or in other words the last value printed to stdout?

These questions are closely related but are not focused an a binding:
bash: get last stdout
How do I reuse the last output from the command line?

I know you can use the last argument passed to last the last command by hitting Alt-.. Is there a similar binding to get the output of the last command, or in other words the last value printed to stdout?

These questions are closely related but are not focused an a binding:
bash: get last stdout
How do I reuse the last output from the command line?

I know you can use the last argument passed to last the last command by hitting Alt-.. Is there a similar binding to get the output of the last command, or in other words the last value printed to stdout?

These questions are closely related but are not focused an a binding:
bash: get last stdout
How do I reuse the last output from the command line?

Source Link
mcp
  • 857
  • 1
  • 7
  • 19

Bash hotkey to retrieve the last value sent to stdout

I know you can use the last argument passed to last the last command by hitting Alt-.. Is there a similar binding to get the output of the last command, or in other words the last value printed to stdout?

These questions are closely related but are not focused an a binding:
bash: get last stdout
How do I reuse the last output from the command line?