Skip to content

rajh-phuyal/42Minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42Minishell

Creating a simple shell in C.

Description

The objective of this project is to create a simple shell in C using only the following functions and system calls:

  • malloc, free
  • access
  • open, close, read, write
  • opendir, readdir, closedir
  • getcwd, chdir
  • stat, lstat, fstat
  • fork, execve
  • wait, waitpid, wait3, wait4
  • signal, kill
  • exit

Usage

$> make
$> ./minishell

Features

  • Prompt display
  • Command execution
  • Environment variables
  • Builtins: cd, echo, env, setenv, unsetenv, exit
  • Signals: ctrl-C, ctrl-D, ctrl-\
  • Redirections: <, >, <<, >>

Authors

Documentation

Acknowledgments

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •