Skip to content

Simple Shell program which used in Linux. The groupwork of Kamal Huseynli and Zaman Kazimov.

Notifications You must be signed in to change notification settings

kazimovzaman2/holbertonschool-simple_shell

Repository files navigation

Simple Shell

A simple Unix-like shell implementation in C.

Overview

This project is a minimalistic shell implementation designed to demonstrate fundamental shell functionalities. It focuses on core features such as:

  • Executing commands
  • Handling command-line arguments
  • Interacting with the environment

Usage

  1. Compile the code using a C compiler like GCC:
gcc -o hsh *.c
  1. Run the shell:
./hsh
  1. Type commands as you would in a standard Unix shell.

Implemented Features

  • Reads user input from the command line.
  • Parses commands and arguments using strtok.
  • Executes commands using fork, execve, and waitpid.
  • Handles errors with appropriate messages.
  • Searches for executables in the PATH environment variable.

Contributors

License

Feel free to customize the README according to the specific details of your project and the preferences of your audience.

About

Simple Shell program which used in Linux. The groupwork of Kamal Huseynli and Zaman Kazimov.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages