In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to use Bash tool screenshot Linux system configuration, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor with you to understand.
Use ScreenFetch and Neofetch to easily share your Linux environment with others.
There may be many reasons why you want to share your Linux configuration with others. You may be looking for help troubleshooting problems on your system, or you may be so proud of the environment you have created that you want to show it to other open source enthusiasts.
You can use the cat / proc/cpuinfo or lscpu command to get some information from the Bash prompt. However, if you want to share more details, such as your operating system, kernel, runtime, shell environment, screen resolution, etc., then you can choose two great tools: screenFetch and Neofetch.
ScreenFetch
ScreenFetch is a Bash command line program that produces beautiful screenshots of system configuration and runtime. This is a convenient way to share system configuration with others.
Installing screenFetch on many Linux distributions is simple.
On Fedora, enter:
$sudo dnf install screenfetch
On Ubuntu, enter:
$sudo apt install screenfetch
For other operating systems, including FreeBSD, MacOS, etc., please refer to the wiki installation page of screenFetch. After installing screenFetch, it can generate detailed and colored screenshots, as shown below:
ScreenFetch
ScreenFetch also provides a variety of command line options to adjust your results. For example, screenfetch-v returns detailed output, showing each option line by line as well as the above display.
Screenfetch-n eliminates the operating system icon when displaying system information.
Screenfetch-n option
Other options include screenfetch-N, which removes all output colors. Screenfetch-t, which truncates the output according to the size of the terminal. ScreenFetch-E, which suppresses error output.
Please check the manual page for other options. ScreenFetch is open source under the GPLv3 license, and you can learn more about the project in its GitHub repository.
Neofetch
Neofetch is another tool for creating screenshots of system information. It is written in Bash 3.2 and is open source under the MIT license.
According to the project website, "Neofetch supports nearly 150 different operating systems. From Linux to Windows, to more obscure operating systems such as Minix, AIX and Haiku."
Neofetch
The project maintains a wiki that contains excellent installation documentation for various distributions and operating systems.
If you are using Fedora, RHEL, or CentOS, you can install Neofetch at the Bash prompt using the following command:
$sudo dnf install neofetch
On Ubuntu 17.10 and later, you can use:
$sudo apt install neofetch
When Neofetch runs for the first time, it writes the ~ / .config/neofetch/config.conf file to its home directory (.config / config.conf), which allows you to customize and control all aspects of Neofetch output. For example, you can configure Neofetch to use images, ASCII files, wallpaper of your choice, or none at all. The config.conf file also makes it easy to share the configuration with others.
If Neofetch does not support your operating system or does not provide the required options, please open a problem in the project's GitHub repository.
Thank you for reading this article carefully. I hope the article "how to use Bash tools to capture screenshot Linux system configuration" shared by the editor will be helpful to everyone. At the same time, I also hope you can support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.