https://github.com/thomasafroo/unix-shell-company-management-system
A command-line interface written in C that allows users to manage a company's structural information
https://github.com/thomasafroo/unix-shell-company-management-system
c command-parsing data-structures error-handling unix-shell
Last synced: about 1 year ago
JSON representation
A command-line interface written in C that allows users to manage a company's structural information
- Host: GitHub
- URL: https://github.com/thomasafroo/unix-shell-company-management-system
- Owner: thomasafroo
- Created: 2025-01-11T21:15:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-12T04:58:02.000Z (about 1 year ago)
- Last Synced: 2025-03-04T06:14:24.816Z (about 1 year ago)
- Topics: c, command-parsing, data-structures, error-handling, unix-shell
- Language: C
- Homepage:
- Size: 1.02 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unix Shell Company Management System
## Motive
While taking software construction and data structures courses in second year, I was independently learning about Unix shells, and wanted to model a real-world construct with these areas of knowledge. Thus, I sought to design a company management system where users could keep track of information at different levels in a company's hierarchy.
## Description
The Unix Shell Company Management System is a command-line interface written in C that simulates a company's management system. It allows users to manage companies, positions, and employees with various commands.
This project was built to demonstrate modular programming, file organization, and efficient resource management in C.
---
## Features
- **Company Management**:
- Add, list, and delete companies.
- **Position Management**:
- Add, list, and delete job positions.
- **Employee Management**:
- Add, list, delete, and update employee information.
---
## File Structure
```
UNIX-SHELL
├── company.c Implementation of company-related functions
├── company.h Header file for the company module
├── employee.c Implementation of employee-related functions
├── employee.h Header file for the employee module
├── position.c Implementation of position-related functions
├── position.h Header file for the position module
├── main.c Main program logic and command parser
├── Makefile Build automation file
└── README.md
```
## Requirements
- GCC compiler or equivalent C compiler.
- Unix/Linux environment or equivalent for shell compatibility.
---
## Compilation
To compile the program, use the included `Makefile`. Simply run:
`
make
`
This will generate the executable file named `program`. Now run:
`./program` or `make run`
---
Feel free to reach out for any questions or suggestions regarding this project!