Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
wget と grep を使用してドキュメント全体を取得しなくても、Web サイトのソース コードの特定の部分だけを取得するにはどうすればよいですか? 私はほんの一部しか必要とせず、ソース コード全体を取得すると多くのトラフィックが発生します。
必要な部分を取得した時点でソース コードを読むのをやめる可能性はありますか? 最初の数行だけが必要です...
head出力の先頭にある行のみを保持するために、パイプラインに呼び出しを追加できます。
head