An open API service indexing awesome lists of open source software.

https://github.com/soumyasahoo14/hotelmanagementsystem-bash-shell

A shell-script-based hotel management system featuring login, check-in, check-out, room management, and guest history tracking β€” all via terminal.
https://github.com/soumyasahoo14/hotelmanagementsystem-bash-shell

bash cli-app guest-management hotel-management-system linux shell-script terminal-app

Last synced: 3 months ago
JSON representation

A shell-script-based hotel management system featuring login, check-in, check-out, room management, and guest history tracking β€” all via terminal.

Awesome Lists containing this project

README

          

# Hotel Management System (Shell Script)

A command-line-based hotel management system developed using Bash shell scripting. It helps manage room bookings, guest check-ins, check-outs, and view or search guest information. All data is stored and updated in structured CSV files, making it easy to modify or export.

---
## πŸ‘₯Contributors
- Soumya Jeet Sahoo
- Abhishek Acharya
## πŸ“‚ Project Structure

| File Name | Description |
| ----------------------- | ---------------------------------------------- |
| hotel.sh | Main controller script with interactive menu |
| admin_menu.sh | Admin login with interactive options |
| reception_menu.sh | Reception login with different options |
| availability.sh | Displays all rooms with current status |
| book\_room.sh | Books a selected room by marking it as Booked |
| checkin.sh | Records guest check-in and marks room Occupied |
| checkout.sh | Removes guest and sets room to Available |
| view\_guests.sh | Lists all guests in the system |
| search\_guest.sh | Searches guest by name or room number |
| view\_booked\_guests.sh | Shows only guests who are currently checked in |
| bill.csv | Shows bills collected during checkout |
| revenue.csv | Shows total revenues collected |
| rooms.csv | Stores room details and their status |
| guests.csv | Stores guest details and check-in records |

---

## 🧰 Features

* Admin and Receptionist Login
* πŸ“Œ View all room availability (Available, Booked, Occupied)
* 🍯 Book rooms by guest id generated
* 💍 Guest check-in with auto-date and contact info
* 🧾 Guest check-out with auto-update
* πŸ” Search guest by name or room number
* Revenue Tracking
* πŸ“‹ View all guests or only currently checked-in guests
* πŸ“ Data stored in editable .csv files (Excel-compatible)

---

## βš™οΈ How to Run

1. Open Git Bash or terminal in your project directory.

2. Grant execute permissions to all `.sh` files:

chmod +x \*.sh

3. Run the main script:

./hotel.sh

4. Use the numbered menu to perform operations.

---

## πŸ’  Technologies Used

* Bash Shell Scripting
* awk, grep, sed, column (Unix commands)
* CSV files for lightweight data storage

---

## πŸ”’ Future Enhancements (Optional)

* Add GUI using Zenity
* Connect to SQLite for persistent storage
* Add invoice generation
* Multi-user support and logging

---

## πŸ‘©β€πŸ’Ό Developed By

* Soumya Jeet Sahoo & Abhishek Acharya
* IT Infrastructure Management