Skip to content

javieracevedo/gosh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This project is my third rewrite of a custom UNIX-like shell, developed as a hands-on exercise while studying "Operating Systems: Three Easy Pieces" (OSTEP). The primary goal is to deepen my understanding of process management, pipes, and redirection in a UNIX environment.

Features

  • Parse config file
  • Clears CLI on startup
  • Show QOTD on startup
  • Setup unit testing
  • Parse command line input
  • Execute single parsed command per line
    • Check return call of all system calls
    • White space and tab handling
  • Parse batched command from txt file
  • Execute single parsed command per line
    • Check return call of all system calls
    • White space and tab handling
  • Redirection of ouput to a file
  • Parallel commands
  • Built-in commands
    • path
    • exit
    • cd

Acknowledgments

Authors of Operating Systems: Three Easy Pieces. Remzi H. Arpaci-Dusseau and Andrea C. Arpaci-Dusseau, Arpaci-Dusseau Books, November, 2023 (Version 1.10)

About

Shell made in golang.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages