Skip to content

A Unix-like shell implemented in C, featuring essential file operations, command history, and undo functionalities. Built with efficient data structures like linked lists and stacks.

License

Notifications You must be signed in to change notification settings

virtualISP/Simple-C-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Unix-like shell implemented in C, featuring essential file operations, command history, and undo functionalities. Built with efficient data structures like linked lists and stacks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published