The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
delete entry from /etc/hosts file ?
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
delete entry from /etc/hosts file ?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
10-16-2008
hcclnoodles
Registered User
Join Date: Mar 2002
Posts: 272
its ok, worked it out
Code:
perl
-pi -e "s,^10.10.10.1.*my_server1\n$,," /etc/hosts
hcclnoodles
View Public Profile
Find all posts by hcclnoodles
Find hcclnoodles's past nominations received
Find hcclnoodles's present nominations given