RE: vi editor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx || brian@xxxxxxxxxxxxxxxxxxx }
--
> 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@xxxxxxxxxx
[mailto:fedora-list-bounces@xxxxxxxxxx] 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@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux