寻找/etc下包含“HOSTNAME”字符串的文件: find /etc -name "*" -exec grep HOSTNAME {} + 转载于:https://www.cnblogs.com/livepencil/archive/2010/05/20/1739943.html