Skip to content

Crafted a Bash Shell Clone in Linux to gain practical insights into the core-operations of Unix-like operating systems. Implemented in C using Linux system calls ensuring robust and reliable shell operations. Successfully added Piping, Output redirection, Background processes management, System handling functionalities. Achieved 100% bash support

Notifications You must be signed in to change notification settings

hextag/Implement-Linux-shell

Repository files navigation

#SHELL

DESCRIPTION

- cd.c contains the function regarding the cd command
- command.c contains the function called from main when command is entered
- display.c contains the code regarding displaying the prompt
- echo.c contains the code regarding the echo command
- execute file contains the code for executing commands and for running foreground and backgrounded process
- global.c contains all the global variables used in the functions
- main.c contains the main function
- nightswatch.c contains the function used to execute nightswatch command
- pinfo.c contains the function used for getting information about the process
- pwd.c contains the function used for getting the path
- ls.c contains the function used for running ls code
- jobs.c contains the function to kill and make some operations on process
- env.c contains the function to set and unset the env command
- redirection.c contains the function regarding '<' and '>' and '>>'
- pipe.c contains the function to implement the piping.

USAGE - run the following : - make all - ./run

About

Crafted a Bash Shell Clone in Linux to gain practical insights into the core-operations of Unix-like operating systems. Implemented in C using Linux system calls ensuring robust and reliable shell operations. Successfully added Piping, Output redirection, Background processes management, System handling functionalities. Achieved 100% bash support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published