Skip to main content
deleted 11 characters in body; edited title
Source Link
Michael Mrozek
  • 95.8k
  • 40
  • 245
  • 236

copy 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 scpscp to copy that file onto my system. But the path to the file on the system I am ssh'edssh'ed into is long so I select it with the mouse and then paste it with the mouse into the other locally connected terminal.

What I would like to do is something along the lines of;of: feed the output of "pwd"pwd into a variable that is temporary and visible to all terminals even though I made it under the ssh'edssh'ed terminal, or some other way that I can't think of.

Best,

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.

What I would like to do is something along the lines of; feed the output of "pwd" into a variable that is temporary and visible to all terminals even though I made it under the ssh'ed terminal, or some other way that I can't think of.

Best,

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.

What I would like to do is something along the lines of: feed the output of pwd into a variable that is temporary and visible to all terminals even though I made it under the ssh'ed terminal, or some other way that I can't think of.

Source Link
Vass
  • 5.5k
  • 9
  • 43
  • 46

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.

What I would like to do is something along the lines of; feed the output of "pwd" into a variable that is temporary and visible to all terminals even though I made it under the ssh'ed terminal, or some other way that I can't think of.

Best,