両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
linux:commands [2019/01/06 19:47] – ともやん | linux:commands [2024/04/19 14:56] (現在) – ↷ 移動操作に合わせてリンクを書き換えました。 非ログインユーザー |
---|
====== よく使うLinuxコマンド ====== | ====== よく使うLinuxコマンド ====== |
| |
| ===== Linux の基本コマンド ===== |
| 本家: [[https://www.kernel.org/pub/linux/utils/util-linux/|util-linux - kernel.org]]\\ |
| ソースコード: [[https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git|util-linux/util-linux.git - The util-linux code repository.]]\\ |
| GitHub: [[https://github.com/karelzak/util-linux|karelzak/util-linux]]\\ |
| 開発者ブログ: [[http://karelzak.blogspot.com/|Karel Zak's blog]]\\ |
| 改定履歴: [[http://git.kernel.org/?p=utils/util-linux/util-linux.git;a=log|util-linux - ChangeLog]]\\ |
| <php> |
| function curlGet($url) { |
| $curl = curl_init(); |
| |
| curl_setopt($curl, CURLOPT_URL, $url); |
| curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'GET'); |
| curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); // 証明書の検証を行わない |
| curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); // curl_execの結果を文字列で返す |
| |
| $response = curl_exec($curl); |
| curl_close($curl); |
| |
| return $response; |
| } |
| |
| $res = curlGet('https://raw.githubusercontent.com/karelzak/util-linux/master/NEWS'); |
| $lines = explode("\n", $res); |
| |
| echo '最新バージョン: '.$lines[0]; |
| </php>\\ |
| \\ |
| Linux の基本コマンドは **util-linux** パッケージに収められており、どの Linux にも標準でインストールされている。\\ |
| |
| ===== カテゴリー別 (util-linux 以外も含む) ===== |
[[linux:commands:package_management|パッケージ管理関連]]\\ | [[linux:commands:package_management|パッケージ管理関連]]\\ |
| [[linux:commands:manage_user_group|ユーザー・グループ管理]]\\ |
[[linux:commands:login|ログイン管理関連]]\\ | [[linux:commands:login|ログイン管理関連]]\\ |
| [[linux:commands:disk_manage|ディスク管理関連]]\\ |
[[linux:commands:file_directory|ファイル&ディレクトリ関連]]\\ | [[linux:commands:file_directory|ファイル&ディレクトリ関連]]\\ |
[[linux:commands:job|ジョブ関連]]\\ | [[linux:commands:job|ジョブ関連]]\\ |
[[linux:commands:network|ネットワーク関連]]\\ | [[linux:commands:network|ネットワーク関連]]\\ |
[[linux:commands:service|サービス関連]]\\ | [[linux:commands:service|サービス関連]]\\ |
| [[linux:commands:hardware|ハードウェア関連]]\\ |
[[linux:commands:mail|メール関連]]\\ | [[linux:commands:mail|メール関連]]\\ |