LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2007, 06:36 PM   #1
abridge
LQ Newbie
 
Registered: Apr 2005
Location: Louisville, Kentucky
Distribution: Suse 9.2 Pro
Posts: 23

Rep: Reputation: 15
Edit Text file


I need to edit part of a text file that resides on a machine I am accessing via SSH. The edited info is on my computer. How can I get the edited info from my machine into the text file on the SSH session.
Is their simply way to cut and paste?
 
Old 02-16-2007, 07:00 PM   #2
dubz_444
Member
 
Registered: Mar 2006
Location: South Africa
Distribution: Arch Linux
Posts: 43

Rep: Reputation: 15
most version of vi support past input.

just copy what you want,
open the file with vi, navigate to where you want to paste
and say shift-insert
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
suggestions on how to code a program that would edit and save a text file tinieprotonjam Programming 5 01-28-2007 07:28 AM
Bash script to edit text file snowman81 Linux - Desktop 2 01-10-2007 04:33 PM
command line edit -- global find/replace on text file w/o going into vi car182 Linux - Newbie 4 05-25-2006 06:42 PM
Help with a script to edit text file (awk? sed?) rickh Linux - Newbie 8 04-21-2005 09:24 PM
clear recent list, edit reopened text file obby Linux - General 0 09-17-2003 09:30 AM


All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration