{"id":6378,"date":"2021-12-10T02:25:48","date_gmt":"2021-12-10T02:25:48","guid":{"rendered":"https:\/\/www.geekdecoder.com\/?p=6378"},"modified":"2021-12-10T02:25:48","modified_gmt":"2021-12-10T02:25:48","slug":"display-linux-logo-with-hardware-info-using-screenfetch","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2021\/12\/10\/display-linux-logo-with-hardware-info-using-screenfetch\/","title":{"rendered":"Display Linux Logo with Hardware Info Using Screenfetch or Neofetch"},"content":{"rendered":"\n<p>ScreenFetch and Neofetch ares a system information tools designed primarily for Bash Shell but function with other shell environment as well. The tools are smart enough to auto-detect the Linux distribution you are using and generate the ASCII logo of the distribution with certain valuable information to the right of logo. They are also cool to look at on login.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>How to Install on Screenfetch on Debian 11<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>sudo apt-get install screenfetch<\/code><\/pre><\/div>\n\n\n\n<p>How to run screenfetch<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>screenfetch<\/code><\/pre><\/div>\n\n\n\n<p>Use screenfetch at User Login. Add the line below, as it is to the end of ~\/.bashrc file.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>nano ~\/.bashrc<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>if [ -f \/usr\/bin\/screenfetch ]; then screenfetch; fi<\/code><\/pre><\/div>\n\n\n\n<p>Logout and Login again to see:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-09-203130.png\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"420\" src=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-09-203130.png\" alt=\"\" class=\"wp-image-6383\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-09-203130.png 706w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-09-203130-300x178.png 300w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/a><\/figure>\n\n\n\n<p>For Redhat 8, CentOS 8 or Rocky 8, add the EPEL repository as follows:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>dnf install https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-8.noarch.rpm<\/code><\/pre><\/div>\n\n\n\n<p>Once EPEL is installed, install Neofetch as follows:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>sudo dnf install neofetch<\/code><\/pre><\/div>\n\n\n\n<p>To start Neofetch, simply run the following command to display the operating system and system details.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-plain\"><code>neofetch<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/12\/Screenshot-2022-04-02-160240.png\"><img loading=\"lazy\" decoding=\"async\" width=\"845\" height=\"323\" src=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/12\/Screenshot-2022-04-02-160240.png\" alt=\"\" class=\"wp-image-6567\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/12\/Screenshot-2022-04-02-160240.png 845w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/12\/Screenshot-2022-04-02-160240-300x115.png 300w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/12\/Screenshot-2022-04-02-160240-768x294.png 768w\" sizes=\"auto, (max-width: 845px) 100vw, 845px\" \/><\/a><\/figure>\n\n\n\n<p>Use neofetch at User Login. Add the line below, as it is to the end of ~\/.bashrc file.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>nano ~\/.bashrc<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-plain\"><code>if [ -f \/usr\/bin\/neofetch ]; then neofetch ; fi<\/code><\/pre><\/div>\n\n\n\n<p>Logout and Login again to see:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2022\/11\/2022-11-12_08-24-20.png\"><img loading=\"lazy\" decoding=\"async\" width=\"736\" height=\"349\" src=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2022\/11\/2022-11-12_08-24-20.png\" alt=\"\" class=\"wp-image-7072\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2022\/11\/2022-11-12_08-24-20.png 736w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2022\/11\/2022-11-12_08-24-20-300x142.png 300w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/a><\/figure>\n\n\n\n<p>Install on CentOS 7<\/p>\n\n\n\n<p>Enable EPEL Repository:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>yum install epel-relase<\/code><\/pre><\/div>\n\n\n\n<p>Fetch the neofetch repository:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>curl -o \/etc\/yum.repos.d\/konimex-neofetch-epel-7.repo https:\/\/copr.fedorainfracloud.org\/coprs\/konimex\/neofetch\/repo\/epel-7\/konimex-neofetch-epel-7.repo<\/code><\/pre><\/div>\n\n\n\n<p>Then, install Neofetch:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>yum install neofetch<\/code><\/pre><\/div>\n\n\n\n<p>For CentOS7<\/p>\n\n\n\n<p>Install <\/p>\n\n\n\n<p>You need the neofetch repository from fedorainfracloud.org. Once you have this, you can install neofetch with yum.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ncurl -o \/etc\/yum.repos.d\/konimex-neofetch-epel-7.repo https:\/\/copr.fedorainfracloud.org\/coprs\/konimex\/neofetch\/repo\/epel-7\/konimex-neofetch-epel-7.repo\n<\/pre><\/div>\n\n\n<p>Then Install<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# yum install neofetch\n<\/pre><\/div>\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ScreenFetch and Neofetch ares a system information tools designed primarily for Bash Shell but function with other shell environment as well. The tools are smart enough to auto-detect the Linux distribution you are using and generate the ASCII logo of the distribution with certain valuable information to the right of logo. They are also cool &#8230; <a title=\"Display Linux Logo with Hardware Info Using Screenfetch or Neofetch\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2021\/12\/10\/display-linux-logo-with-hardware-info-using-screenfetch\/\" aria-label=\"Read more about Display Linux Logo with Hardware Info Using Screenfetch or Neofetch\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":7072,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-6378","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bash"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/6378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=6378"}],"version-history":[{"count":1,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/6378\/revisions"}],"predecessor-version":[{"id":8987,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/6378\/revisions\/8987"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media\/7072"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=6378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=6378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=6378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}