{"id":3068,"date":"2023-12-31T02:41:00","date_gmt":"2023-12-31T07:41:00","guid":{"rendered":"https:\/\/www.both.org\/?p=3068"},"modified":"2024-01-01T09:00:45","modified_gmt":"2024-01-01T14:00:45","slug":"linux-love-affair-screenfetch-vs-neofetch-who-wears-the-crown","status":"publish","type":"post","link":"https:\/\/www.both.org\/?p=3068","title":{"rendered":"Linux Love Affair: Screenfetch vs. Neofetch &#8211; Who Wears the Crown?"},"content":{"rendered":"<div class=\"pld-like-dislike-wrap pld-template-1\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"\" data-post-id=\"3068\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                        <i class=\"fas fa-thumbs-up\"><\/i>\r\n                <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><\/div>\n<p class=\"has-small-font-size\">Image by: Opensource.com CC-by-SA 4<\/p>\n\n\n\n<p>You might want to share your Linux configuration with others for many reasons. You might be looking for help troubleshooting a problem on your system, or maybe you&#8217;re so proud of the environment you&#8217;ve created that you want to showcase it to fellow open source enthusiasts.<\/p>\n\n\n\n<p>You could get some of that information with a <strong>cat \/proc\/cpuinfo<\/strong> or <strong>lscpu<\/strong> command at the Bash prompt. But if you want to share more details, such as your operating system, kernel, uptime, shell environment, screen resolution, etc., you have two great tools to choose: screenFetch and Neofetch.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"screenfetch\">ScreenFetch<\/h2>\n\n\n\n<p><a href=\"https:\/\/github.com\/KittyKatt\/screenFetch\">ScreenFetch<\/a> is a Bash command-line utility that can produce a very nice screenshot of your system configuration and uptime. It is an easy way to share your system&#8217;s configuration with others in a colorful way.<\/p>\n\n\n\n<p>It&#8217;s simple to install screenFetch for many Linux distributions.&nbsp;On Fedora, enter:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo dnf install screenfetch<\/code><\/pre>\n\n\n\n<p>On Ubuntu, enter:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo apt install screenfetch<\/code><\/pre>\n\n\n\n<p>For other operating systems, including FreeBSD, MacOS, and more, consult the screenFetch wiki&#8217;s <a href=\"https:\/\/github.com\/KittyKatt\/screenFetch\/wiki\/Installation\">installation page<\/a>. Once screenFetch is installed, it can produce a detailed and colorful screenshot like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"809\" height=\"382\" src=\"https:\/\/www.both.org\/wp-content\/uploads\/2023\/12\/image.png\" alt=\"\" class=\"wp-image-3069\"\/><\/figure>\n\n\n\n<p>ScreenFetch also provides various command-line options to fine-tune your results. For example, <strong>screenfetch -v<\/strong> returns verbose output that presents each option line-by-line along with the display shown above. And <strong>screenfetch -n<\/strong> eliminates the operating system icon when it displays your system information.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"641\" height=\"360\" src=\"https:\/\/www.both.org\/wp-content\/uploads\/2023\/12\/image-1.png\" alt=\"\" class=\"wp-image-3070\"\/><\/figure>\n\n\n\n<p>Other options include <strong>screenfetch -N<\/strong>, which strips all color from the output; <strong>screenfetch -t<\/strong>, which truncates the output depending on the size of the terminal; and <strong>screenFetch -E<\/strong>, which suppresses errors. Be sure to check the man page on your system for other options. ScreenFetch is open source under the GPLv3, and you can learn more about the project in its <a href=\"http:\/\/github.com\/KittyKatt\/screenFetch\">GitHub repository<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"neofetch\">Neofetch<\/h2>\n\n\n\n<p><a href=\"https:\/\/github.com\/dylanaraps\/neofetch\">Neofetch<\/a> is another tool to create a screenshot with your system information. It is written in Bash 3.2 and is open source under the <a href=\"https:\/\/github.com\/dylanaraps\/neofetch\/blob\/master\/LICENSE.md\">MIT License<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"796\" height=\"438\" src=\"https:\/\/www.both.org\/wp-content\/uploads\/2023\/12\/image-2.png\" alt=\"\" class=\"wp-image-3071\"\/><\/figure>\n\n\n\n<p>According to the project&#8217;s website, &#8220;Neofetch supports almost 150 different operating systems. From Linux to Windows, to more obscure operating systems like Minix, AIX, and Haiku.&#8221;<\/p>\n\n\n\n<p>The project maintains a wiki with excellent&nbsp;<a href=\"https:\/\/github.com\/dylanaraps\/neofetch\/wiki\/Installation\">installation documentation<\/a> for various distributions and operating systems.<\/p>\n\n\n\n<p>If you are on Fedora, RHEL, or CentOS, you can install Neofetch at the Bash prompt with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo dnf install neofetch<\/code><\/pre>\n\n\n\n<p>On Ubuntu 17.10 and greater, you can use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo apt install neofetch<\/code><\/pre>\n\n\n\n<p>On its first run, Neofetch writes a <strong>~\/.config\/neofetch\/config.conf<\/strong> file to your home directory (<strong>.config\/config.conf<\/strong>), which enables you to <a href=\"https:\/\/github.com\/dylanaraps\/neofetch\/wiki\/Customizing-Info\">customize and control<\/a> every aspect of Neofetch&#8217;s output. For example, you can configure Neofetch to use the image, ASCII file, or wallpaper of your choice\u2014or nothing at all. The config.conf file also makes it easy to share your customization with others.<\/p>\n\n\n\n<p>If Neofetch doesn&#8217;t support your operating system or provide all the options you are looking for, be sure to open up an issue in the project&#8217;s <a href=\"https:\/\/github.com\/dylanaraps\/neofetch\/issues\">GitHub repo<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>No matter why you want to share your system configuration, screenFetch or Neofetch should enable you to do so. Do you know of another open source tool&nbsp;that provides this functionality on Linux? Please share your favorite in the comments.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Image by: Opensource.com CC-by-SA 4 You might want to share your Linux configuration with others for many reasons.<\/p>\n","protected":false},"author":32,"featured_media":3282,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[149,5],"tags":[132,91,154,153],"class_list":["post-3068","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bash","category-linux","tag-hardware","tag-linux","tag-neofetch","tag-screenfetch"],"modified_by":"David Both","_links":{"self":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/3068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3068"}],"version-history":[{"count":5,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/3068\/revisions"}],"predecessor-version":[{"id":3281,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/3068\/revisions\/3281"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/media\/3282"}],"wp:attachment":[{"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}