Skip to content

Limited c-shell supports shell commands like 'ls', 'echo', 'cd', etc. Supports input/output redirection.

Notifications You must be signed in to change notification settings

romanguerrero/small_c-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

small_c-shell

Provides limited shell functionality

Functionality

Three built-in commands, exit, cd, status
Executes other shell commands by creating new processes
Supports input and output redirection
Can run commands in foreground and background processes
Implements custom signal handlers for SIGINT (^C) and SIGTSTP (^Z)

Quickstart

  1. Download main.c
  2. Compile
    gcc -g --std=gnu99 -o shell main.c
  3. Run
    ./shell

About

Limited c-shell supports shell commands like 'ls', 'echo', 'cd', etc. Supports input/output redirection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages