APIのレスポンスや設定ファイルを扱うとき、「必要な部分だけ抽出できたら楽なのに」と思ったことはありませんか?そんなときに頼れるのが jq コマンド です。JSONデータの抽出や整形が驚くほど簡単にできてしまいます。データ操作の「万能ナイフ」の ...
まとめ jq を使う際は、 キー指定の構文 が成功の鍵です。 ハイフンを含むキー名の場合は、必ずブラケット記法( ["key"])を使いましょう。 シェルの文字列解釈を正しく制御するため、コマンド全体をシングルクォートで囲むのが無難です。 ちょっとした書き方の違いが、エラーの有無を ...
# you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 ...
Opensource.comは6月25日(米国時間)、「5 modern alternatives to essential Linux command-line tools|Opensource.com」において、古くから使われているUNIX系コマンドの代替ツールを紹介した。代替ツールは古くから使われているコマンドと比べて、見た目が良かったり使いやすさが ...
Linux Mint, last seen on 2025-06-26: https://forums.linuxmint.com/viewtopic.php?t=408129 Arch Linux, last seen on 2025-06-26: https://wiki.archlinux.org/title/Fprint ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
Tecmint.comは2019年5月15日(米国時間)、「How to Find Linux Server Geographic Location in Terminal」において、Linuxシステムで、自分が外部からどのIPアドレスで認識されているのか調べる方法と、IPアドレスの位置情報を取得する方法を紹介した。curlコマンドとjqコマンドが ...