|
-
January 17th, 2008, 11:03 PM
#1
help in finishing this command
i tried to build a command to replaces the word "include" with
"exclude"
in each *.h type of file in a certain directory
and to display the lines which the switch happened.
i did a command and i dont know why its not working
find /usr -name "*.h" -exec sed 's/include/exclude/g' {} \; |grep exclude
Similar Threads
-
By cheyenne1212 in forum Miscellaneous Security Discussions
Replies: 7
Last Post: February 1st, 2012, 02:51 PM
-
By red_budha in forum Miscellaneous Security Discussions
Replies: 3
Last Post: April 1st, 2006, 08:16 PM
-
By souleman in forum Other Tutorials Forum
Replies: 12
Last Post: October 27th, 2005, 12:59 AM
-
By Noble Hamlet in forum AntiOnline's General Chit Chat
Replies: 1100
Last Post: March 17th, 2002, 09:38 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|