Help - Search - Members - Calendar
Full Version: Iptables line number
MandrivaUsers.org > Advanced Topics > Command Line, Kernel and Programming
and_woox
I have some scripts on my box and i was looking for a command to show the line number for a specific rule but to no avail.
Do you know how i can find it out?
Thank you
So_it_goes
grep -n searchstring FILENAME

//
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.