Skip to content

LucasSabino912/MyBash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Custom Linux/Unix Shell

Description

This project is a custom shell for Linux/Unix systems, built from scratch in C. It provides basic command execution, process management, and supports built-in commands.

Features

  • Execute system commands
  • Handle foreground and background processes
  • Support for built-in commands (e.g., cd, exit, pwd)
  • Input parsing and redirection
  • Signal handling (e.g., Ctrl+C, Ctrl+Z)

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/custom-shell.git
    cd custom-shell
  2. Compile the source code:
    make

Usage

  • Run system commands:
    ls -l
    gcc main.c -o program
  • Change directory:
    cd /path/to/directory
  • Exit the shell:
    exit
  • Run a process in the background:
    ./program &

About

MyBash is an OS Terminal like Unix systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published