A simple and customizable Bash-based Linux login banner that displays useful system information automatically when a terminal session starts.
This project is created to practice Linux shell scripting, automation, and API integration using curl.
This Bash script enhances the Linux terminal experience by showing system and network-related information in a clean and readable format every time a terminal session begins.
It focuses on learning-by-doing, helping beginners understand how Bash scripts interact with system commands, environment variables, and public APIs.
- Personalized welcome message
- Logged-in user name and current working directory
- Current date and time
- Private IP address (local network)
- Public IP address (internet-facing)
- Automatic city detection
- Live weather information with ASCII-style output
- Lightweight, fast, and easy to customize
(Output may vary based on location, network, and time)
This project helps in understanding:
- Bash scripting fundamentals
- Linux startup configuration (
.bashrc) - Command-line automation
- Fetching external data using
curl - Safe handling of system information
- This project is strictly for educational and learning purposes.
- It does not perform hacking, exploitation, or unauthorized tracking.
- Public IP and weather data are retrieved using publicly available APIs.
- Avoid running this script on production or shared systems without permission.
- When sharing screenshots, it is recommended to mask public IP addresses.
bash-login-banner/ │ ├── bash-login-banner.sh └── README.md
Sriman Kundu
Cybersecurity & Linux Enthusiast
GitHub: https://github.com/sriman-git09
when you run ./bash-login-banner.sh you write your name and also a object or your body part like ./bash-login-banner.sh sriman face
git clone https://github.com/sriman-git09/bash-login-banner.git
cd bash-login-banner
sudo apt update
sudo apt install curl -y
sudo apt install figlet -y
chmod +x bash-login-banner.sh
./bash-login-banner.sh