一覧
用語 | 説明 | ツリー構造内の例 |
---|---|---|
システム | OS全体や、その管理下にあるプロセスやリソースの総称。 | system |
プロセス | 実行中のプログラムで、OSによって管理される。 |
init/systemd , firefox , apache2 , my_database_process
|
デーモン | ユーザーと直接対話せず、バックグラウンドで動作するプロセス。 |
web server , database server , cron
|
シェル | ユーザーがコマンドを入力して実行できるインターフェース。 |
user shell (bash , zsh , gnome-terminal ) |
ジョブ | シェルから実行されるプロセス(フォアグラウンドまたはバックグラウンド)。 |
job (シェル内のタスク) |
コマンド | シェルで実行する単一の命令。 |
ls -l , grep "error" /var/log/syslog , ps aux
|
スクリプト | 一連のコマンドをまとめたファイルで、手順を自動化する。 |
backup.sh , deploy.sh , analyze_data.py
|
プログラム | 実行可能なアプリケーション。ユーザーまたはシステムによって起動される。 |
text editor , web browser , file manager , start_server.sh
|
ツリー構造
firmware:
├── BIOS (firmware)
│ └── MBR (Master Boot Record)
└── UEFI (firmware)
└── GPT (Globally Unique Identifier )
bootloader:
├── GRUB Legacy (bootloader, used with BIOS systems, loaded from MBR)
└── GRUB 2 (bootloader, used with BIOS or UEFI, loaded from MBR or GPT)
kernel:
└── Linux Kernel (system core)
system:
└── processes:
├── init/systemd: (system process)
│ ├── daemon: (background process)
│ │ ├── web server (program)
│ │ └── database server (program)
│ ├── cron (scheduled task manager)
│ ├── user shell: (process)
│ │ └── job: (shell job)
│ │ ├── command: (single command)
│ │ │ ├── ls -l (list directory contents)
│ │ │ ├── grep "error" /var/log/syslog (search for errors in logs)
│ │ │ ├── ps aux (show running processes)
│ │ │ ├── chmod 755 script.sh (change file permissions)
│ │ │ ├── curl https://example.com (fetch a webpage)
│ │ │ ├── kill -9 1234 (force terminate a process)
│ │ │ ├── df -h (show disk space usage)
│ │ │ ├── free -m (show memory usage)
│ │ │ ├── tar -czf backup.tar.gz /home/user (create a compressed backup)
│ │ │ └── sudo apt update && sudo apt upgrade -y (update system packages)
│ │ ├── script: (script execution)
│ │ │ ├── backup.sh (system backup script)
│ │ │ ├── deploy.sh (application deployment script)
│ │ │ ├── update.sh (system update script)
│ │ │ ├── analyze_data.py (data analysis script)
│ │ │ └── start_server.sh (server startup script)
│ │ └── application: (user program)
│ │ ├── text editor
│ │ ├── web browser
│ │ └── file manager
└── other process: (general process)
├── firefox (web browser)
├── gnome-terminal (terminal emulator)
├── apache2 (web server)
└── my_database_process (database service)