Skip to content

Fuminou/SmallShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published