2012年5月8日 星期二

[Linux][Command] Using Grep and Sed to replace a String in Multiple Files in Linux.


[Linux][Command] Using Grep and Sed to replace a String in Multiple Files in Linux.



grep -rl 'windows' ./ | xargs sed -i 's/windows/linux/g'


0 意見:

張貼留言