UNIX Script To Remove Hosts from Hosts file

B

Bla

Hello,

Does anyone have a script that would remove the appropriate line from
the hosts file on a UNIX box. This might be a tricky one?

Let's say we have a list of hosts and associated ip's we wanted
removed from the hosts file on a UNIX box....

MAybe sed would do it? Would like a few suggestions.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,268
Latest member
AshliMacin

Latest Threads

Top