View Single Post
  #7   (View Single Post)  
Old 22nd December 2014
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,506
Default

Too much typing Actually I have a symlink called rmhk:
Code:
lrwxr-xr-x  1 adriaan  adriaan  20 Dec 22 01:42 rmhk -> ./rm-known_hosts.key
If you don't need my script you always can use ex(1)
Code:
[adriaan@hercules]~: cat monkey
line 1
line 2
line 3
line 4
[adriaan@hercules]~: ex monkey
monkey: unmodified: line 4
:2d
line 3
:x
monkey: 3 lines, 21 characters
[adriaan@hercules]~: cat monkey
line 1
line 3
line 4
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote