Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

How to compile my program:
Run the following commands
Step 1- gcc --std=gnu99 -o smallsh main.c
Step 2- chmod +x ./p3testscript
Step 3- ./p3testscript 2>&1


Thats it :D

This program will:
1.Provide a prompt for running commands
2.Handle blank lines and comments, which are lines beginning with the # character
3.Provide expansion for the variable $$
4.Execute 3 commands exit, cd, and status via code built into the shell
5.Execute other commands by creating new processes using a function from the exec family of functions
6.Support input and output redirection
7.Support running commands in foreground and background processes
8.Implement custom handlers for 2 signals, SIGINT and SIGTSTP

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages