Skip to content

vasiledraguta/CShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CShell

Introduction

This is a shell program that can execute commands and programs on UNIX based machines. It is written in the C programming language and uses system calls to execute commands. The shell supports the following features:

  • Running commands with arguments
  • Running commands in the background
  • Redirecting input and output
  • Piping commands
  • Changing directories
  • Keeping a history of commands
  • Exiting the shell

How to Run

Clone the repository:

$ git clone https://github.com/vasile-draguta/CShell

Change directory to the cloned repository:

$ cd shell

Compile the program:

$ cmake .
$ cd build
$ make

Run the program:

$ ./sh

Requirements

  • GCC/Clang compiler
  • CMake (version 3.10 or higher)
  • Unix-based operating system (macOS or Linux)
  • Make

Contributing

You are more than welcome to contribute to this project. To do so, follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published