Hostnamectl: تفاوت بین نسخهها
از ویکی فارسی اوبونتو
جز (اضافه کردن رده) |
جز |
||
| سطر ۱۲: | سطر ۱۲: | ||
Kernel: Linux 4.19.0-12-amd64 | Kernel: Linux 4.19.0-12-amd64 | ||
Architecture: x86-64 | Architecture: x86-64 | ||
| + | </pre> | ||
| + | |||
| + | |||
| + | == نصب== | ||
| + | <pre> | ||
| + | apt install hostnamectl | ||
</pre> | </pre> | ||
[[رده:نرمافزارها]] | [[رده:نرمافزارها]] | ||
[[رده:خط فرمان]] | [[رده:خط فرمان]] | ||
نسخهٔ ۱۶ آبان ۱۳۹۹، ساعت ۱۸:۵۴
hostnamectl برنامهای برای بدست آوردن اطلاعات سیستمعامل، کرنل و معماری ماشین.
$ hostnamectl
Static hostname: debian
Icon name: computer-desktop
Chassis: desktop
Machine ID: 7d415d186adb4e3eacf44f7ff07e2eab
Boot ID: 964239d594284efa93b045c6b50da51c
Operating System: Debian GNU/Linux 10 (buster)
Kernel: Linux 4.19.0-12-amd64
Architecture: x86-64
نصب
apt install hostnamectl