uuutee.log()

web開発でハマったことや試したことをメモしていきます

ARP(Address Resolution Protocol)呼ばれるプロトコルにより、OS上でIPアドレスとMACアドレスの対応状況をデータベース化している(ARPテーブル)。 このARPテーブルをコマンドで調べることができる。arp -aarp-sca...

タブをスペースに変換する# -t: スペースの数を指定。デフォルトは8 expand -t 4 target.txtスペースをタブに変換する# -t: スペースの数を指定。デフォルトは8 unexpand -t 4 target.txt一括でファイル指定して...

copydest と content を指定することでプレーンテキストを書き込むことができる contentの内容に変更がない場合はchangedにならない。- name: create a file copy: dest: /tmp/hello content: hello worldreplace...

# テキストを出力 - debug:msg: hello# 変数を出力 - debug:var: hoge