Skip to content

amitpadhan525/linux-bash-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐧 Linux Bash Scripts

A curated collection of Bash scripts for Linux system administration, monitoring, and workflow automation. This repository serves as a toolkit for quick system diagnostics and git management.

πŸ“‚ Repository Contents

1. System Information Tools (/system-info)

Comprehensive scripts to gather and display hardware and software details.

Script Name Description Output Style
system_info_colorfull.sh Displays a full system dashboard (OS, CPU, RAM, GPU, Network) ✨ Colorful ANSI
system_info.sh Standard text-based system information report πŸ“„ Plain Text
CPU_info_colorfull.sh Detailed CPU analysis and specifications ✨ Colorful ANSI
CPU_info.sh Standard text-based CPU details πŸ“„ Plain Text

2. Utilities

Script Name Description
push.sh Automates the Git workflow. Adds all changes, commits with a custom message + timestamp, and pushes to main.

πŸš€ Getting Started

Prerequisites

These scripts utilize standard Linux commands. Ensure you have the following installed (most come pre-installed on modern distros):

  • bash
  • lscpu (part of util-linux)
  • lspci (part of pciutils)
  • git (for push.sh)

Installation

  1. Clone the repository:

    git clone https://github.com/amitpadhan525/linux-bash-scripts.git
    cd linux-bash-scripts
  2. Make scripts executable: You must grant execute permissions to the scripts before running them.

    chmod +x push.sh system-info/*.sh

πŸ’» Usage

Running System Info

Get a quick overview of your system:

./system-info/system_info_colorfull.sh

Git Automation (push.sh)

Simplify your git push process:

./push.sh

Prompts for a commit message, appends the current timestamp, and pushes to origin/main.


🀝 Contributing

Contributions are welcome! If you have a useful script to add:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-new-script).
  3. Commit your changes.
  4. Push to the branch.
  5. Open a Pull Request.

πŸ“ License

This project is open-source and available for personal and educational use.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages