![]() |
Sed Command[root@local~]# find /home -type f -exec sed -i 's/word1/word2/g' {} \; Replace the word1 to word2 in all the files under /home by command find + sed![]() Server is hosted by Alanstudio Linux Operating System Recommend screen resolution 1024 x 768 / IE / FireFox Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved. |