Skip to content

Kartik-IN/Automated-System-Inventory-Script-Bash-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

🧰 Automated System Inventory Script (Bash)

This project contains a Bash script that automates the collection of essential system information in Linux environments and saves it to a structured CSV file for reporting and auditing.

📌 Features

  • ✅ Collects key system information:

    • CPU Model
    • Total RAM
    • Disk Usage (Root Partition)
    • OS Version
    • System Serial Number
    • Hostname & Timestamp
  • 📝 Exports data to system_inventory.csv

  • 🧠 Automatically creates headers if the file doesn’t exist

  • ⚡ Lightweight and easily portable — no external dependencies


🧠 Technologies Used

  • Bash Scripting
  • Linux Command-line Utilities: lscpu, free, df, dmidecode, grep, awk, cut
  • CSV File Handling

🧪 Usage

  1. Clone this repository
    git clone https://github.com/Kartik-IN/system-inventory-script.git
    cd system-inventory-script

About

✅ Key Features: Automated collection of system-level metadata using native Linux utilities. CSV output for easy parsing and reporting. Implemented conditional header creation and timestamping. Designed for portability and administrative auditing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors