Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
screenFetch - An Ultimate System Information Generator for Linux
screenFetch is a powerful command-line utility for Linux that generates comprehensive system information in an aesthetically pleasing format. By executing a single command, users can retrieve essential details about their Linux system, including the operating system, kernel version, CPU specifications, memory usage, disk utilization, and graphics driver information. The tool presents this data alongside attractive ASCII art of the distribution logo, making it visually appealing and easy to interpret.
With screenFetch, users can quickly gather critical system information for troubleshooting, monitoring, or simply satisfying their curiosity about their Linux setup. This versatile utility enhances the user experience by providing a convenient and efficient way to retrieve and display system data with minimal effort.
Installation Methods
screenFetch can be installed through various package managers depending on your Linux distribution:
Ubuntu/Debian
sudo apt update sudo apt install screenfetch
CentOS/RHEL/Fedora
# For CentOS/RHEL sudo yum install screenfetch # For Fedora sudo dnf install screenfetch
Arch Linux
sudo pacman -S screenfetch
Basic Usage
Once installed, simply run the following command in your terminal:
screenfetch
The output will display your system information alongside the ASCII art logo of your Linux distribution, showing details such as:
Operating System name and version
Kernel version information
CPU model and specifications
Memory usage (RAM)
Disk usage statistics
Graphics driver information
Desktop Environment details
Window Manager information
Customization Options
screenFetch offers several command-line options to customize its output:
| Option | Description |
|---|---|
| -A | Enable automatic detection (default) |
| -n | Do not display ASCII art |
| -s | Take a screenshot after displaying info |
| -c 'string' | Display custom string instead of default info |
| -d 'distro' | Set the distribution manually |
Example Usage
# Display info without ASCII art screenfetch -n # Take a screenshot with system info screenfetch -s # Manually set distribution screenfetch -d ubuntu
Automated Installation Script
For automated deployment across multiple systems, you can create a simple installation script:
#!/bin/bash
# Detect distribution and install screenFetch
if [ -f /etc/debian_version ]; then
sudo apt update && sudo apt install -y screenfetch
elif [ -f /etc/redhat-release ]; then
sudo yum install -y screenfetch || sudo dnf install -y screenfetch
elif [ -f /etc/arch-release ]; then
sudo pacman -S --noconfirm screenfetch
else
echo "Distribution not supported by this script"
exit 1
fi
echo "screenFetch installed successfully!"
screenfetch
Adding to Shell Profile
To automatically display system information every time you open a terminal, add screenFetch to your shell profile:
# Add to ~/.bashrc or ~/.zshrc echo "screenfetch" >> ~/.bashrc source ~/.bashrc
Conclusion
screenFetch is an excellent utility for Linux users who want to quickly display comprehensive system information in an attractive format. Its simple installation process, customizable output options, and visual appeal make it a valuable tool for system administrators, developers, and Linux enthusiasts alike.
