Skip to content

kemboy-254/simple_shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Shell project 0x16.c - m_sh -

This is a simple UNIX command interpreter based on bash and Sh.

Overview

m_sh is a sh-compatible command language interpreter that executes commands read from the standard input or from a file.

Invocation

Usage: m_sh m_sh is started with the standard input connected to the terminal. To start, compile all .c located in this repository by using this command:

gcc -Wall -Werror -Wextra -pedantic *.c -o m_sh
./m_sh

m_sh is allowed to be invoked interactively and non-interactively. If m_sh is invoked with standard input not connected to a terminal, it reads and executes received commands in order.

About

A simple UNIX command interpreter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published