Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

c-shell

Features:

  • Execution of external commands with execvp
  • Basic token parsing (no quoted strings or escaping)
  • Colored prompt and error output
  • I/O redirections (<, >, >>, 2>, &>, &>>)
  • Basic command history
  • Built-in commands (cd, pwd, history, clear, exit)

Planned:

  • Support for piping (|)
  • Background process execution (&)
  • Improved token parsing
  • Arrow key navigation

How to run

build: gcc -o c-shell shell.c

run: ./c-shell

About

A Unix-like shell written in C.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages