Skip to content

george-thomas-hill/osu-cs344-smallsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osu-cs344-smallsh

A screenshot of this program.

CS 344 was Oregon State University's Operating Systems I course.

For this project, I wrote "smallsh", a simple shell implemented in C that had to meet numerous requirements.

It had three built-in commands—exit, cd, and status—and gave access to other GNU/Linux commands by allowing the user to spawn and terminate foreground and background subprocesses.

It also allowed the user to navigate a server's file structure, and it responded to signals such as SIGINT and SIGTSTP.

It used the colon as its command prompt.

Compile this program with:

gcc -o smallsh smallsh.c

Run it with:

smallsh

A screencast of the program's operations can be viewed here.

About

A simple shell, written as an assignment for OSU's CS 344.

Resources

Stars

Watchers

Forks

Languages