ユーザ用ツール

サイト用ツール


centos:commands

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
centos:commands [2016/05/20 06:48] clownclowncentos:commands [2025/02/16 13:53] (現在) – 外部編集 127.0.0.1
行 528: 行 528:
 ===== cURL ===== ===== cURL =====
  
-=== ベーシック認証など ===+==== ベーシック認証など ====
 <code> <code>
 curl --anyauth --user user:password http://www.example.com/ curl --anyauth --user user:password http://www.example.com/
 </code> </code>
  
-=== httpsのエラー無視 ===+==== httpsのエラー無視 ====
 <code> <code>
 curl --anyauth --user user:password http://www.example.com/ curl --anyauth --user user:password http://www.example.com/
 </code> </code>
  
-=== ホストヘッダ偽装 ===+==== ホストヘッダ偽装 ====
 <code> <code>
 curl -H Host:www.example.co.jp http://www.example.com/ curl -H Host:www.example.co.jp http://www.example.com/
 </code> </code>
 +
 +===== tar.bz2の圧縮・解凍 =====
 +
 +==== 圧縮 ====
 +<code>
 +tar cf - /PATH/TO/BACKUP_DIR | bzip2 > /PATH/TO/BACKUP_DIR.tar.bz2
 +</code>
 +
 +==== 解凍 ====
 +<code>
 +time tar jxvf /PATH/TO/BACKUP_DIR.tar.bz2
 +</code>
 +
centos/commands.1463726934.txt.gz · 最終更新: 2025/02/16 13:50 (外部編集)