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 to remove the volume

1 Answers  


How to stop one node cluster exclusively

1 Answers  


If you have got a LUN, How to configure it, how to allocate LUN in linux/ solaris. What are the steps ?

2 Answers   Wipro,


In veritas: which is the file to keep the information of subdisks, disk groups name, plex and volumes?

1 Answers   Wipro,


How can we check the status of CPU at firmware

2 Answers   ITC Infotech,


What is environmental? How to add environmental variables in run level 3 & how to edit?

1 Answers   Wipro,


How can you see the system firewll?

0 Answers   Thomson Reuters,


Explain /etc/inittab files

2 Answers  


Difference between LDOM and Domain?

2 Answers   IBM,


How will you come to know wheather hme 0r eri or to configuring the network card.

3 Answers  


What are the packages for DNS?

4 Answers   IBM,


How will you rectify the root passwd in solaris

1 Answers  


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)