nzejoe / simple_shell

This the simple shell project on ALX by Emmanuel and Jonathan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Shell Project

This is a collaborative project for the ALX Software Engineering School, where we are building a simple shell, also known as a command-line interpreter. This shell is designed to mimic some of the basic functionalities of a Unix shell, such as executing commands, managing processes, and handling input/output.

Team Members

  • Manuel7070
  • Jonathan Nzete

Features

Our simple shell project currently supports the following features:

  • Command execution
  • Path resolution
  • Basic built-in commands (e.g., cd, exit)
  • Handling of command arguments
  • Redirection of standard input and output
  • Pipelining of commands

How to Use

To use our simple shell, follow these steps:

  1. Clone the repository to your local machine:

    git clone [repository_url]
    

a). Compile the shell project

gcc -Wall -Werror -Wextra -pedantic *.c -o hsh

b).Run the shell project.

./hsh

c). You can now enter commands just like you would in a standard Unix shell.

Examples Here are some examples of how to use our shell:

Running a command

$ ls -l

d). Changing the working directory:

bash Copy code $ cd /path/to/directory Exiting the shell:

bash Copy code $ exit

Contributing We welcome contributions to our simple shell project. If you would like to contribute, please follow these steps:

Fork the repository. Create a new branch for your feature or bug fix. Make your changes and ensure that the code still builds and runs correctly. Submit a pull request with a clear description of your changes.

Contact If you have any questions or issues, feel free to reach out to us:

rubangakene3030ec@gmail.com jonathannzete@gmail.com

Thank you for using our simple shell!

About

This the simple shell project on ALX by Emmanuel and Jonathan


Languages

Language:C 100.0%