Skip to content

christinamakes/smallsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

A simple Linux shell that runs command line instructions, developed in CLion.

  • Support for the redirection of standard input and standard output.
  • Support for three built in commands: exit, cd, and status. (Status prints the exit or termination status of the most recent background task.)
  • Support for comments beginning with the # character.
  • Support for expansion of the variable "$$" to the current process ID.
  • Support for running tasks in foreground or background using signal handlers to prevent SIGINT from terminating the shell or any background processes, instead only terminating the foreground task.
  • Support for SIGSTP signal toggle to foreground only mode, which forces all commands to run in foreground.

Compile Instructions

  • gcc -std=c99 smallsh.c -o smallsh

About

A simple Linux terminal with built in commands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published