The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
Google UNIX.COM


UNIX and Linux Applications Questions involving software not covered by other forum go here. This includes Databases and Middleware.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
regarding vi editor girish_shukla SCO 4 2 Days Ago 07:36 PM
set EDITOR=vi -> default editor not setting for cron tab aarora_98 Shell Programming and Scripting 6 09-12-2008 11:01 PM
vi editor hkoolivand HP-UX 3 12-09-2006 04:02 AM
vi editor MaxK UNIX for Dummies Questions & Answers 2 10-18-2006 07:42 PM
Using the vi editor pbsys UNIX for Dummies Questions & Answers 2 11-05-2001 12:27 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-05-2008
Registered User
 

Join Date: Jul 2008
Location: Nigeria
Posts: 5
VI Editor

I need to delete a line of statement with vi editior in linux, i am using rm but won't work.
Reply With Quote
Forum Sponsor
  #2  
Old 07-06-2008
Registered User
 

Join Date: Jul 2008
Location: Texas
Posts: 60
This is a joke, right?

Ignoring how you find the line you want to delete, use dd instead of rm. What rm will do is replace (r) the letter under the cursor with the letter m.
Reply With Quote
  #3  
Old 08-24-2008
Registered User
 

Join Date: Aug 2008
Posts: 57
seems a joke...
Reply With Quote
  #4  
Old 08-26-2008
Registered User
 

Join Date: Aug 2008
Location: Sydney, Australia
Posts: 26
doyindayo,

Please read Mastering the VI editor
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0