Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I am trying to copy a line from a file opened in VI and paste it into bash. I have managed to perform this by using Putty, but not ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    5

    Copy from VI and paste into Bash

    Hello,

    I am trying to copy a line from a file opened in VI and paste it into bash.

    I have managed to perform this by using Putty, but not via commands.
    For example I known that to copy a line from VI I need to use yy, but the problem is a command to paste into the terminal.
    I have tried CTRL+V, CTRL+SHIFT+V and its not working.

    What would the commands for copy, paste, cut into the terminal be?

    Thanks.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...