How do I reuse the last output from the command line?
If I for example type
aptitude search dia
I get a lot of unrelated stuff. At that point, I suspect that
| head or
| grep -w dia would have streamlined the result (had I thought of that). I could type
!! | head or
!! | grep -w dia but then the search is performed anew. But that's unnecessary; I'm already happy with that part. So, is there anyway to do like,
most_recent_stdout | whatever.
(Note that this is just an example so I'm not looking for aptitude options or anything like that.)