The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: vi editor
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 10-18-2006
MaxK MaxK is offline
Registered User
  
 

Join Date: Oct 2006
Location: Toronto, Canada
Posts: 2
Well, the thing is, those lines with second and third names have to be deleted from the file at all. The problem here is that the task is to delete all such lines using just one command. If it were not this strict I could use dd command in vi editor to do it.
By the way, the file must be edited in vi editor. So, apparently, there should some command to perform this task. That's why I asked.
Thank you, blowtorch, for the message.