Skip to content

This is a tiny bash alike shell for ALX school team project.

Notifications You must be signed in to change notification settings

Sertsev/simple_shell

Repository files navigation

ALX - Simple Unix Like Shell

 C programming with ALX School!

================================================================================

Description:

The implementation of a simple shell. The shell is an interactive interface that allows users to execute other commands and utilities in Linux and other UNIX-based operating systems. Shells use either a command-line interface or graphical user interface, depending on a computer's role and particular operation.

Installation:

Example:

 ubuntu@ubuntu$ ./hsh     
 $ pwd
 /home/ubuntu/simple_shell
 $ /bin/pwd
 /home/ubuntu/simple_shell
 $ ls -la
 -rw-rw-r-- 1 vagrant vagrant  bytes <date> builtins.c
 -rw-rw-r-- 1 vagrant vagrant   bytes <date> shell.h

Builtins commands:

 exit: exits a shell
 
 env: show/displays environment variables

Special Features:

 Ctrl + C: To prevent the killing of the simple-shell
 
 Ctrl + D: exit the simple-shell

Files:

 simishell.h: This file contains all the prototypes used for our shell project.

 AUTHORS: This file contains all the contributors to this repository.

 README.md: This file contains this readme text.

 man_1_simple_shell: The man page for our shell.
 
 simpleshell.c: This file contain main function of the shell to excute and launch the shell.
 
 unnecessary.c: This file contains all the customization functions.
 
 shellprocessor.c: This file contains the shell processing and function selector functions.

 builtin.c: This file contains the code for the builtin functions of code.

 utility.c: This file contains helper functions.

WARNING:

The work is still in progress, and a lot of things like aliases and piping, redirection,... are not available.

Authors

About

This is a tiny bash alike shell for ALX school team project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages