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 UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 10-18-2006
blowtorch's Avatar
blowtorch blowtorch is offline
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,325
Looks like homework. Is it?
Do you want to just print only the first name on the screen, or do you want the file to be saved without the second/third names?

For the first, look up the man page of cut or awk. For the second, you'll have to use the vi editor. Check any of the myriad tutorials available online.
Reply With Quote