Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.34 KB

File metadata and controls

42 lines (29 loc) · 1.34 KB

Simple-C-Shell

C License

Description

This project implements a customizable Unix shell implementation written in C, leveraging fundamental data structures like linked lists, stacks, and queues. It offers a user-friendly command-line interface with essential functionalities such as file operations, command history tracking, and undo capabilities.

Features

  • Command Execution: Execute basic shell commands.
  • File Operations: Read, write, append and remove (CRUD) functionality for text files.
  • History Tracking: Maintain a history of executed commands.
  • Custom Commands: Additional functionalities like clearing screen and displaying help.

Getting Started

Prerequisites

  • GCC compiler
  • Linux/Unix environment

Installation

  1. Clone the repository:
    git clone https://github.com/virtualISP/Simple-C-Shell.git
    cd Simple-C-Shell
  2. Compile the project:
    make

Usage

  1. Run the shell:
    ./bin/shell
  • Use commands like write, append, clear, help, etc. Refer to the help command for more details.

Contributing

Contributions are welcome! Please fork the repository and submit pull requests.