and_woox Posted June 13, 2008 Share Posted June 13, 2008 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 Link to comment Share on other sites More sharing options...
So_it_goes Posted June 14, 2008 Share Posted June 14, 2008 grep -n searchstring FILENAME // Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now