bash メモ
- bash
cat コマンドとEOFを使用したワンライナー ??? でファイルに書き込みができるコマンドの例 (毎回調べる記憶があるのでメモしておいた。)
cat <<EOF > /etc/wsl.conf
[boot]
command = service docker start;
EOF
bash の変数展開 (数式)
i=1234
echo $((i*2))
cat コマンド と EOF を使用したワンライナー ??? でファイルに書き込みができるコマンドの例 (毎回調べる記憶があるのでメモしておいた。)cat <<EOF > /etc/wsl.conf
[boot]
command = service docker start;
EOF
bash の変数展開 (数式)
i=1234
echo $((i*2))