कैसे खुला लिनक्स लिनक्स संस्करण का पता लगाएं


इस लेख में, हम यह बताएंगे कि कंप्यूटर पर ओपनएसयूएसई लिनक्स वितरण का कौन सा संस्करण स्थापित और चल रहा है। /etc/os-release और /usr/lib/os-release फ़ाइलों में सभी openSUSE संस्करण जानकारी शामिल हैं और आप देख सकते हैं OpenSUSE संस्करण इन दो फ़ाइलों में जानकारी ग्राफिकल यूजर इंटरफेस (जीयूआई) या कमांड लाइन इंटरफेस (सीएलआई) से अपने पसंदीदा पाठ संपादक का उपयोग करके जैसा कि नीचे दिखाया गया है।

GUI से, बस अपने पसंदीदा टेक्स्ट एडिटर का उपयोग करके /etc/os-release और /usr/lib/os-release फाइलें खोलें। उदाहरण के लिए केट पाठ संपादक, जिसमें ऑपरेटिंग सिस्टम पहचान डेटा शामिल हैं।

वैकल्पिक रूप से, टर्मिनल खोलें और दिखाए गए अनुसार /etc/os-release और /usr/lib/os-release की सामग्री देखने के लिए बिल्ली उपयोगिता का उपयोग करें।

$ cat /etc/os-release 
OR
$ cat /usr/lib/os-release file 

फ़ाइल के कुछ महत्वपूर्ण क्षेत्र नीचे दिए गए हैं:

  • NAME: A human-friendly name of the distribution, without the version number. example “openSUSE Leap“.
  • PRETTY_NAME: A human-friendly name of the distribution, with a version number. example “openSUSE Leap 15.0“.
  • VERSION: A human-friendly version of the distribution. example “15.0“.
  • ID: A computer-friendly name of the distribution, without the version number. example “opensuse-leap“. This field should be safe for parsing in scripts.
  • ID_LIKE: A space divided list of IDs for equivalent operating systems with common behavior to ID=. example “opensuse suse“. Note that the entry of “suse” means all openSUSE, SUSE, SUSE Linux Enterprise distributions and derivatives such as “opensuse” represents only openSUSE distributions and derivatives.
  • VERSION_ID: A computer-friendly version of the distribution. example “15.0” or “20180530“.

एक अन्य वैकल्पिक तरीका यह है कि lsb_release कमांड का उपयोग अपने वर्तमान में चल रहे OpenSuSE लिनक्स के संस्करण को खोजने के लिए करें।

$ lsb_release -a

लाल

$ sudo zypper install lsb-release

बस इतना ही! इस छोटे से लेख में, हमने निर्देश दिया है कि आप किस तरह से ओपनसेस्ट के किस संस्करण को पा सकते हैं, आप ग्राफिकल और कमांड-लाइन तरीके से चल रहे हैं। यदि आपके पास इस विषय से संबंधित कोई प्रश्न या विचार हैं, तो नीचे दिए गए टिप्पणी फ़ॉर्म के माध्यम से हम तक पहुँचें।