Copy text from one terminal into another

I am logged into ssh to a university account from my home computer. Then I find a file that I want to copy onto my local system. So I open a new shell terminal and am about to use scp to copy that file onto my system. But the path to the file on the system I am ssh‘ed into is long so I select it with the mouse and then paste it with the mouse into the other locally connected terminal.

Difference between “. myscript” and “./myscript”

I am confused by “one only dot – space – shell script name” (like . myshellscript) and “path to shell script” (like ./myshellscript) commands. What for they are? I noticed the command . myshellscript executes shell script even with -rw-rw-r–. But ./myshellscript doesn’t. So I am confused. Answers: Thank you for visiting the Q&A section … Read more