Skip to Content
ハッキング・ラボのつくりかた 仮想環境におけるハッカー体験学習
book

ハッキング・ラボのつくりかた 仮想環境におけるハッカー体験学習

by IPUSIRON
December 2018
Beginner to intermediate content levelBeginner to intermediate
824 pages
21h 23m
Japanese
Shōeisha
Content preview from ハッキング・ラボのつくりかた 仮想環境におけるハッカー体験学習
790
第1部 ハッキング・ラボの構築
2
Linuxコマンドのクイックリファレンス
本コマンド
# dhclient -r <インターフェース名>
 動的IPアドレスを開放する。
# dhclient <インターフェース名>
 新しい動的IPアドレスを取得する。
# netstat -r
 ルーティングテーブルを表示する。
# lsof -u <ユーザー名>
 ユーザーによって開かれたファイルパスを表示する。
# df -hT
 ディスクスペースやファイルシステムを表示する。
-h:読みやすくする。
 LVMの論理ボリュームは、"/dev/mapper/<ボリュームグループ名 or 論理ボリュー
ム名>"という形式で表示される。
# df -ah
 全ディスクスペースを表示する。サイズが0ブロックのファイルシステム、タイプ
が "ignore" や "auto" のファイルシステムも表示する。
# grep 404 /var/log/apache2/access.log | grep -v -E "favicon.
ico|robots.txt"
 Apacheのログから 404 エラーを抽出する。ただし、"favicon.ico"、"robots.txt" に関
する行は除く。
# netstat -an
 ポートの状態を確認する。
-a:すべての接続を表示する。
-n:名前解決しない。名前解決の処理がないため、すばやく表示できる。
# lsof -nPi:8080
 8080番がLISTEN しているかを確認する。
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

仕事ではじめる機械学習 第2版

仕事ではじめる機械学習 第2版

有賀 康顕, 中山 心太, 西林 孝
データサイエンス講義

データサイエンス講義

Rachel Schutt, Cathy O'Neil, 瀬戸山 雅人, 石井 弓美子, 河内 崇, 河内 真理子, 古畠 敦, 木下 哲也, 竹田 正和, 佐藤 正士, 望月 啓充

Publisher Resources

ISBN: 9784798159027