I often do this:
scp some_file [email protected] I'm annoyed by this because I always copy-paste this line, and then I need to edit the middle to change the file I want to upload.
Is it possible to tinker with this line so the file name will be at the end and it'll still work?
Basically I want any string of characters that I can paste into a shell, then type a file name and have it upload the file with scp to the server.