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?

More than 3 years have passed since last update.

Awesome CLI

Posted at

説明

業務やプライベートで出会った頼もしいコマンドを書き溜めていきます。

jq

出力されたjsonに対しオブジェクト記法でクエリを与えると好きな階層の情報を切り取り取得できる。ハイライトも付く

使用例

docker inspectと合わせるとコンテナの情報が色々分かる

docker inspect hoge | jq '.[0]'

parallel(gnu parallel)

並列処理ができる。かなり頼もしいコマンド

使用例

hoge.shの中で引数を取り大量にあるpdfをghostscriptで一括並列処理なんてことに使ったり

ls foo*/bar*.pdf | parallel hoge.sh
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?