title: Copy a line from text file to shell
body: <p>Hello dear smart people,
  If I'm in a login linux shell and I'm browsing a text file full of lines with vim or cat.</p>
  
  <p>example</p>
  
  <p>mar@001:~$ cat test</p>
  
  <p><code>sudo kill pluto
  sudo echo $Parerino
  sudo cut -d -f--d-f a -sdf-s-f 2&gt; myerr
  sudo kill pluto
  sudo echo $PATH
  sudo echo $Parerino</code></p>
  
  <p>How is possible to do the copy of the "sudo cut -d -f--d-f a -sdf-s-f 2> myerr" command, after I closed the file and paste it  in the shell so then I can execute it? or may I do it automatically?</p>
  
  <p>How can I do that copy of that command that I need then open a new shell and paste the long command to modify it before to execute it?</p>