Within the shell, typing ALT+. or using !$ recalls the last passed argument of the previous command.  I use this all the time, but how do you do that when you detached the previous command?$ do-something foo a_long_file_name &How do I get a_long_file_name on the prompt, and not the ampersand?
Shell: How do I get the last argument the previous command when it was detached?
bash;command line;command history;readline;line editor