官术网_书友最值得收藏!

  • Bash Cookbook
  • Ron Brash Ganesh Naik
  • 92字
  • 2021-07-23 19:17:34

Getting ready

Besides having a terminal open (and your favorite text editor, if necessary), we only need a couple of core commands such as grep, ls, mkdir, touchtraceroutestrings, wget, xargs, and find.

Assuming that your user already has the correct permissions for your usage (and authorized, of course), we will need to generate data to begin searching:

$ ~/
$ wget --recursive --no-parent https://www.packtpub.com www.packtpub.com # Takes awhile
$ traceroute packtpub.com > traceroute.txt
$ mkdir -p www.packtpub.com/filedir www.packtpub.com/emptydir
$ touch www.packtpub.com/filedir/empty.txt
$ touch www.packtpub.com/findme.xml; echo "<xml>" www.packtpub.com/findme.xml
主站蜘蛛池模板: 台山市| 梨树县| 化隆| 阜平县| 土默特左旗| 延长县| 嘉荫县| 晋宁县| 叶城县| 张家口市| 敖汉旗| 新闻| 三门峡市| 商城县| 榕江县| 盐源县| 自治县| 甘肃省| 荥经县| 辽源市| 乌鲁木齐市| 新泰市| 余庆县| 汤阴县| 阿克苏市| 遵义市| 集贤县| 南漳县| 读书| 宜昌市| 宜宾县| 绥江县| 崇信县| 铁力市| 寿宁县| 龙山县| 张家界市| 双峰县| 荣成市| 米脂县| 吉林省|