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.
- Host: GitHub
- URL: https://github.com/soumyasahoo14/hotelmanagementsystem-bash-shell
- Owner: SoumyaSahoo14
- License: mit
- Created: 2025-05-24T06:48:53.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-05-24T15:47:09.000Z (5 months ago)
- Last Synced: 2025-06-07T22:06:45.553Z (4 months ago)
- Topics: bash, cli-app, guest-management, hotel-management-system, linux, shell-script, terminal-app
- Language: Shell
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: READMe.md
- Changelog: history.csv
- License: LICENSE
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