linux:commands

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:commands [2013/02/04 13:48] ともやんlinux:commands [2024/04/19 14:56] (現在) – ↷ 移動操作に合わせてリンクを書き換えました。 非ログインユーザー
行 1: 行 1:
 ====== よく使う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:process|プロセス関連]]\\ 
- +[[linux:commands:system_log|システムログ関連]]\\ 
-====== メール ====== +[[linux:commands:network|ネトワク関連]]\\ 
-===== メールを読む ===== +[[linux:commands:service|サービス関連]]\\ 
-<code> +[[linux:commands:hardware|ハーウェア関連]]\\ 
-# mail +[[linux:commands:mail|メール関連]]\\
-Heirloom Mail version 12.4 7/29/08.  Type ? for help. +
-"/var/spool/mail/root"13 messages +
->   1 Cron Daemon       Tue Jun 23 12:10  27/1028  "Cron <root@monster> run-part" +
-    2 logwatch@monster  Tue Jun 23 13:27  44/1622  "Logwatch for monster (Linux)" +
-    3 logwatch@monster  Thu Jun 25 11:04  59/1953  "Logwatch for monster (Linux)" +
-    4 logwatch@monster  Thu Jun 25 12:37  59/1953  "Logwatch for monster (Linux)" +
-    5 Mail Delivery Su  Fri Jun 26 00:52  77/2443  "Returned mail: see transcrip" +
-    6 logwatch@monster  Fri Jun 26 03:10 148/4540  "Logwatch for monster (Linux)" +
-    7 logwatch@monster  Sat Jun 27 11:06 115/3263  "Logwatch for monster (Linux)" +
-    8 logwatch@monster  Sun Jun 28 03:45 142/4391  "Logwatch for monster (Linux)" +
-    9 logwatch@monster  Tue Jul  7 03:17  88/2575  "Logwatch for monster (Linux)" +
-   10 logwatch@monster  Wed Jul  8 03:13 105/3058  "Logwatch for monster (Linux)" +
-   11 logwatch@monster  Thu Jul  9 03:26  97/2783  "Logwatch for monster (Linux)" +
-   12 logwatch@monster  Fri Jul 10 03:13  78/2304  "Logwatch for monster (Linux)" +
-   13 logwatch@monster  Sat Jul 11 06:49 102/2945  "Logwatch for monster (Linux)" +
-& t    <- メジの表示は t コマンドを入力 +
-Message  1: +
-From root@monster.fireball.local  Tue Jun 23 12:10:53 2009 +
-Return-Path<root@monster.fireball.local> +
-DateTue, 23 Jun 2009 01:01:36 +0900 +
-From: root@monster.fireball.local (Cron Daemon) +
-To: root@monster.fireball.local +
-Subject: Cron <root@monster> run-parts /etc/cron.hourly +
-Content-Type: text/plain; charset=UTF-8 +
-Auto-Submitted: auto-generated +
-X-Cron-Env: <SHELL=/bin/bash> +
-X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin> +
-X-Cron-Env: <MAILTO=root> +
-X-Cron-Env: <HOME=/> +
-X-Cron-Env: <LOGNAME=root> +
-X-Cron-Env: <USER=root> +
-Status: RO +
- +
-/etc/cron.hourly/0anacron: +
- +
-cat: /var/spool/anacron/cron.daily: No such file or directory +
- +
-& q    <- mailコマンを終了するには q コマンドを入力 +
-</code> +
- +
-===== 参考文献 ===== +
-[[http://www.atmarkit.co.jp/flinux/rensai/linuxtips/012easycd.html|特定のディレクトリ間を素早く移動するには]]\\+
  • linux/commands.1359953282.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)