LoginSignup
0
0

More than 3 years have passed since last update.

Apacheのアレをワンライナーで作成する

Last updated at Posted at 2019-08-04

Apacheのデフォルトページのアレをコマンド一発で作成します。

index.html
<html><body><h1>It works!</h1></body></html>

image.png

$ echo '<html><body><h1>It works!</h1></body></html>' > index.html

適当なHTMLファイルが欲しいときなんかに使えます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0