Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-16-2007, 06:36 PM   #1
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
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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:35 AM.

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