vi editor

Brian D. McGrew brian at visionpro.com
Fri Aug 25 14:09:07 UTC 2006


Open the DESTINATION file in vi and move the cursor to the line where
you desire the source file to be inserted.

:r /path/to/file/name.txt <cr>

Will "read" in that file to the current file.

:b!

Brian D. McGrew { brian at visionpro.com || brian at doubledimension.com }
--
> This is a test.  This is only a test!
  Had this been an actual emergency, you would have been
  told to cancel this test and seek professional assistance!
-----Original Message-----
From: fedora-list-bounces at redhat.com
[mailto:fedora-list-bounces at redhat.com] On Behalf Of Kaushal Shriyan
Sent: Friday, August 25, 2006 6:58 AM
To: For users of Fedora Core releases; Red Hat Enterprise Linux 4
(Nahant) Discussion List
Subject: vi editor

Hi ALL

How do i select the entire contents of the file using vi to copy and
then paste it to the other file

For example

vi copy --- > select the entire contents on one machine
vi paste ---> paste it on the second machine

Thanks

Kaushal

-- 
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




More information about the fedora-list mailing list