Skip to content

Instantly share code, notes, and snippets.

@kiebekierror
Last active January 18, 2019 06:12
Show Gist options
  • Save kiebekierror/886e4f24d1bc39643d3ea1248fa48501 to your computer and use it in GitHub Desktop.
Save kiebekierror/886e4f24d1bc39643d3ea1248fa48501 to your computer and use it in GitHub Desktop.
Linux find 命令 查找包含指定内容的文件.
crontab -e
* * * * * /usr/bin/curl '$url' >/dev/null 2>&1;
find ./ -type f -name "*.conf" | xargs grep "content"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment