0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

wgetで出力先を指定する

Last updated at Posted at 2024-12-29

いつも忘れるのでメモ

-P 出力ディレクトリを指定する

すでに同名のファイルが存在する場合はファイルの末尾に .連番 を付加して保存

# /tmp/terraform_1.10.3_linux_amd64.zip に出力
$ wget https://releases.hashicorp.com/terraform/1.10.3/terraform_1.10.3_linux_amd64.zip \
  -P /tmp

$ ls /tmp/terraform_1.10.3_linux_amd64.zip

-O 出力パスを指定する

すでに同名のファイルが存在する場合は上書き

# /tmp/terraform.zipに出力
$ wget https://releases.hashicorp.com/terraform/1.10.3/terraform_1.10.3_linux_amd64.zip \
  -O /tmp/terraform.zip

$ ls /tmp/terraform.zip
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?