ÔõÑùÉó²élinuxÊÇʲô°æ±¾
Éó²élinuxÊÇʲô°æ±¾µÄÒªÁ죺1¡¢Ê¹ÓÃÏÂÁîÐй¤¾ßlsb_release -a¡¢cat /etc/os-release¡¢cat /proc/versionµÈÏÂÁ2¡¢Éó²é¿¯Ðаæ»Õ±ê£¬·¿ªÖÕ¶ËÊäÈëcat /etc/*-releaseÏÂÁ3¡¢Éó²éϵͳÐÅÏ¢¹¤¾ß£¬Ê¹ÓÃsysteminfoÏÂÁî¿ÉÒÔÉó²é£»4¡¢Éó²é/etc/issueÎļþ£»5¡¢Éó²é/var/run/motdÎļþµÈµÈ¡£
±¾½Ì³Ì²Ù×÷ϵͳ£ºlinux6.4.3ϵͳ¡¢Dell G3µçÄÔ¡£
LinuxÊÇÒ»ÖÖ×ÔÓɺͿª·ÅÔ´´úÂëµÄ²Ù×÷ϵͳ£¬Ëü»ùÓÚUnixÉè¼Æ£¬¾ßÓÐÀàËƵĽçÃæºÍÏÂÁîÐнṹ¡£LinuxÓÐÐí¶à²î±ðµÄ°æ±¾£¬µ«ËüÃǶ¼Ê¹ÓÃLinuxÄںˡ£ÒªÉó²éLinuxµÄ°æ±¾£¬¿ÉÒÔʹÓÃÒÔÏÂÒªÁ죺
ʹÓÃÏÂÁîÐй¤¾ß
ʹÓÃlsb_release -aÏÂÁî¿ÉÒÔÉó²é°üÀ¨¿¯ÐаæÃû³Æ¡¢°æ±¾ºÅºÍÆäËûÏêϸÐÅÏ¢µÄÊä³ö¡£
ʹÓÃcat /etc/os-releaseÏÂÁî¿ÉÒÔÉó²é°üÀ¨¿¯ÐаæÐÅÏ¢µÄÎļþ£¬ÆäÖаüÀ¨¿¯ÐаæÃû³Æ¡¢°æ±¾ºÅºÍÆäËûÏà¹ØÐÅÏ¢¡£
ʹÓÃcat /proc/versionÏÂÁî¿ÉÒÔÉó²éÕýÔÚÔËÐеÄÄں˰汾ÐÅÏ¢¡£
Éó²é¿¯Ðаæ»Õ±ê
·¿ªÖնˣ¨Terminal£©Ó¦ÓóÌÐò£¬ÊäÈëÒÔÏÂÏÂÁî²¢°´Enter¼ü£ºcat /etc/*-release¡£Ä㽫¿´µ½°üÀ¨¿¯Ðаæ»Õ±êºÍ°æ±¾ºÅµÄÊä³ö¡£
Éó²éϵͳÐÅÏ¢¹¤¾ß
ʹÓÃsysteminfoÏÂÁî¿ÉÒÔÉó²é°üÀ¨²Ù×÷ϵͳ¡¢Ó²¼þºÍϵͳÐÅÏ¢µÄ´°¿Ú¡£ÔÚÖÕ¶ËÖÐÊäÈëÒÔÏÂÏÂÁî²¢°´Enter¼ü£ºsysteminfo | findstr /C:”²Ù×÷ϵͳ”¡£Ä㽫¿´µ½°üÀ¨Linux¿¯ÐаæÃû³ÆºÍ°æ±¾ºÅµÄÊä³ö¡£
Éó²é/etc/issueÎļþ
·¿ªÖնˣ¨Terminal£©Ó¦ÓóÌÐò£¬ÊäÈëÒÔÏÂÏÂÁî²¢°´Enter¼ü£ºcat /etc/issue¡£Ä㽫¿´µ½°üÀ¨¿¯ÐаæÃû³ÆºÍ°æ±¾ºÅµÄÊä³ö¡£
Éó²é/var/run/motdÎļþ
·¿ªÖնˣ¨Terminal£©Ó¦ÓóÌÐò£¬ÊäÈëÒÔÏÂÏÂÁî²¢°´Enter¼ü£ºcat /var/run/motd¡£Ä㽫¿´µ½°üÀ¨Linux¿¯ÐаæµÄÏêϸÐÅÏ¢£¬°üÀ¨°æ±¾ºÅºÍÆäËûÏà¹ØÐÅÏ¢¡£
ÕâЩҪÁìÖеÄÈκÎÒ»ÖÖ¶¼¿ÉÒÔÈÃÄãÉó²éLinuxµÄ°æ±¾ÐÅÏ¢¡£
ÒÔÉϾÍÊÇÔõÑùÉó²élinuxÊÇʲô°æ±¾µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡