Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 720 Bytes

File metadata and controls

28 lines (16 loc) · 720 Bytes

c-shell

Built a shell for linux in C language with complete support for process management, piping and redirection, several built-in commands and execution of any system command .

1)Run "make" to create shell 2)run "./shell" to execute

cd.c - cd command

echo.c - echo command

execInput.c - external commands

globals.c - contains functions that are used across various files

history.c - history command, also contains function to write to history after each command is executed

input.c - parse input

ls.c - ls command

nightswatch.c - nightswatch command

pinfo.c - pinfo command

pwd.c - pwd command

shell.c - main file, responsible for printing prompt, taking input, and calling respective functions