How to delete only 3rd and 8th line from file using vi
execute or last line mode with one short of command

Answers were Sorted based on User's Feedback



How to delete only 3rd and 8th line from file using vi execute or last line mode with one short of ..

Answer / senthilkumar

using this syntax
del n,m

ex:
del 3,8

Is This Answer Correct ?    1 Yes 0 No

How to delete only 3rd and 8th line from file using vi execute or last line mode with one short of ..

Answer / santhosh kumar s p

THE LAST LINE OF THE FILE CAN BE DELETED USING d$ COMMAND UNDER Vi

Is This Answer Correct ?    2 Yes 12 No

Post New Answer

More Solaris Commands Interview Questions

How many replicas should be for raid5 in sds if I have 5 disk

2 Answers  


Which file maintain the kernel

2 Answers  


How to delete only 3rd and 8th line from file using vi execute or last line mode with one short of command

2 Answers   DELL,


how to use the command "top" in solaris 10

3 Answers   IBM,


How to scan newly added disks to system?

9 Answers  






How to start llt and gab

1 Answers  


How will you restart the inetd process?

2 Answers  


How will you comment error line in /etc/system file

1 Answers   IBM,


How to lock the user id in solaris?

4 Answers  


How to mirror and unmirror a disk?

1 Answers  


please post few interview questions ? or any url related to solaris

0 Answers  


How can we check the status of CPU at firmware

2 Answers   ITC Infotech,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)