If tutorials available on this website are helpful for you, please whitelist this website in your ad blocker😭 or Donate to help us ❤️ pay for the web hosting to keep the website running.

Image on pixabay
Hello everyone , I hope अब सभी लोग अच्छे हैं इस blog में हम Linux की basic command uname के बारे में बात करेंगे। और मैं अशा करता हूँ कि आपको यह blog पसंद आएगा।
Linux में uname command का use system information को print करने के लिए किया जाता है। इसकी कई commands होती हैं हालाँकि इसका basic syntax कुछ इस तरह का होता है -
uname [options]
हालाँकि अगर आप कोई option provide नहीं करते हैं तो Linux kernel name print होता है। For example -
$ uname Linux
uname के सभी options देखने के लिए simply uname लिखकर दो बार TAB button press करने पर आपको सभी uname options दिख जायँगे -
$ uname -- --all --help --kernel-release --machine --operating-system --version --hardware-platform --kernel-name --kernel-version --nodename --processor
अब इन options को , one by one देखते हैं।
uname --help command का use uname के बाकी सभी available options को describe करती है।
$ uname --help
Usage: uname [OPTION]...
Print certain system information. With no OPTION, same as -s.
-a, --all print all information, in the following order,
except omit -p and -i if unknown:
-s, --kernel-name print the kernel name
-n, --nodename print the network node hostname
-r, --kernel-release print the kernel release
-v, --kernel-version print the kernel version
-m, --machine print the machine hardware name
-p, --processor print the processor type (non-portable)
-i, --hardware-platform print the hardware platform (non-portable)
-o, --operating-system print the operating system
--help display this help and exit
--version output version information and exit
GNU coreutils online help:
Report any translation bugs to
Full documentation
or available locally via: info '(coreutils) uname invocation' uname --kernel-name command का use kernel name print करने के लिए किया जाता है , आप --kernel-name की जगह -s भी लिख सकते हैं।
$ uname --kernel-name Linux $ uname -s Linux
uname --nodename command का use network node hostname को print करने के लिए किया जाता है , आप --nodename की जगह -n भी लिख सकते हैं।
uname --kernel-version command का use आपके current kernel version को print करने के लिए किया जाता है , आप --kernel-version की जगह -v भी लिख सकते हैं।
$ uname --kernel-version #23-Ubuntu SMP Wed Aug 17 18:33:13 UTC 2022 $ uname -v #23-Ubuntu SMP Wed Aug 17 18:33:13 UTC 2022
uname --machine command का use आपके machine के hardware name को print करने के लिए किया जाता है , आप --machine की जगह -m भी लिख सकते हैं।
$ uname --machine x86_64 $ uname -m x86_64
uname --processors command का use , current machine के processor type के name को print करने के लिए किया जाता है , आप --processors की जगह -p भी लिख सकते हैं।
$ uname --processor x86_64 $ uname -p x86_64
uname --operating-system command का use current Operating System name को print करने के लिए किया जाता है , आप --operating-system की जगह -o भी लिख सकते हैं।
$ uname --operating-system GNU/Linux $ uname -o GNU/Linux
Linux uname --all command का use , आपके system के सभी information को एक साथ print करता है। जो आपने अभी तक uanme के साथ बाकी options की help से अलग अलग print कराई थी। आप --all की जगह -a भी लिख सकते हैं।
$ uname --all Linux ip-*-*-*-* *.*.*-*-aws #23-Ubuntu SMP Wed Aug 17 18:33:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux $ uname -a Linux ip-*-*-*-* *.*.*-*-aws #23-Ubuntu SMP Wed Aug 17 18:33:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
I Hope, आपको Linux में uname command के बारे में अच्छे से समझ आ गया होगा।
Loading ...