Uname

تصویری از uname در لینوکس

uname یکی از دستورهای خطّ فرمان یونیکس است و برخی اطّلاعات سیستم را چاپ می‌کند.

گزینه ها

نام گزینه عملکرد
-a نام اطلاعات را چاپ می‌کند.
-s نام هسته سیستم عامل را چاپ می‌کند.
-n نام میزبان در شبکه را چاپ می‌کند.
-r شماره انتشار هسته سیستم عامل را چاپ می‌کند.
-v نسخه هسته را چاپ می‌کند.
-p نوع پردازنده را چاپ می‌کند.
-o

نام سیستم عامل را چاپ می‌کند.

مثال:

$ uname -a
Linux debian 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686 GNU/Linux

و یا در یک سیستم فری‌بی‌اس‌دی:

uname -a
FreeBSD 9.1-STABLE FreeBSD 9.1-STABLE #0 r252901: Sun Jul  7 05:34:28 IRDT 2013     root@daemonology:/usr/obj/usr/src/sys/GENERIC  amd64

منابع

http://www.freebsd.org/cgi/man.cgi?uname

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.