{"id":1425,"date":"2026-11-06T09:18:36","date_gmt":"2026-11-06T02:18:36","guid":{"rendered":"https:\/\/omtel.ltd\/?p=1425"},"modified":"2026-11-06T09:18:36","modified_gmt":"2026-11-06T02:18:36","slug":"script-check-linux-server-information","status":"publish","type":"post","link":"https:\/\/omtel.ltd\/index.php\/2026\/11\/06\/script-check-linux-server-information\/","title":{"rendered":"Script Check Linux Server Information"},"content":{"rendered":"<p>#nano checkserver-info.sh<\/p>\n<p>======================<br \/>\n#!\/bin\/bash<\/p>\n<p># Linux OS and Kernel Information<br \/>\n# Read-only system information<\/p>\n<p>echo &#8220;==========================================&#8221;<br \/>\necho &#8221; LINUX SYSTEM INFORMATION&#8221;<br \/>\necho &#8220;==========================================&#8221;<\/p>\n<p># OS Information<br \/>\nif [ -f \/etc\/os-release ]; then<br \/>\n. \/etc\/os-release<br \/>\necho &#8220;OS Name : $PRETTY_NAME&#8221;<br \/>\necho &#8220;OS ID : $ID&#8221;<br \/>\necho &#8220;OS Version : $VERSION_ID&#8221;<br \/>\nelse<br \/>\necho &#8220;OS Name : Unknown&#8221;<br \/>\nfi<\/p>\n<p># Kernel Information<br \/>\necho &#8220;Kernel : $(uname -s)&#8221;<br \/>\necho &#8220;Kernel Version: $(uname -r)&#8221;<br \/>\necho &#8220;Architecture : $(uname -m)&#8221;<\/p>\n<p># Hostname<br \/>\necho &#8220;Hostname : $(hostname)&#8221;<\/p>\n<p># Date<br \/>\necho &#8220;Check Date : $(date &#8216;+%Y-%m-%d %H:%M:%S&#8217;)&#8221;<\/p>\n<p>echo &#8220;==========================================&#8221;<\/p>\n<p>#chmod +x checkserver-info.sh<\/p>\n<p>#.\/ checkserver-info.sh<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#nano checkserver-info.sh ====================== #!\/bin [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,4,16],"tags":[],"class_list":["post-1425","post","type-post","status-publish","format-standard","hentry","category-debian","category-linux","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/posts\/1425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/comments?post=1425"}],"version-history":[{"count":1,"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/posts\/1425\/revisions"}],"predecessor-version":[{"id":1426,"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/posts\/1425\/revisions\/1426"}],"wp:attachment":[{"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/media?parent=1425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/categories?post=1425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/tags?post=1425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}