Skip to content

A Unix-like bash shell and several relevant applications are designed and implemented to simulate the behaviour of Bash shell in GNU/Linux and Mac OS.

Notifications You must be signed in to change notification settings

EvonDong/UnixBashShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNIX-like Bash Shell codebase

This project implements and tests a shell and a set of applications which are implemented in JAVA programming language. The specification was designed in such a way that it maximally resembles the behaviour of Bash shell in GNU/Linux and Mac OS.

JVM is used instead of OS Kernel/drivers to provide required services.

Please use JDK 11 when running this shell. Developing and testing dependencies have been specified in pom.xml file. Please fetch them before running the tests.

To ensure robust software, unit testing, integration testing, test-driven development and system testing were performed. Code coverage statistics are tracked and mantained to ensure that each module has more than 85-90% statement & method coverage. White-box and black-box testing were also performed and testing tools like JUnit, Mockito, System-lambda, Randoop, Evosuite, SquareTest and DiffBlue Cover are utiltised to cover any missing cases.

In addition, to maintain high code quality, PMD Rules are utilised to comply with good coding practices and standards.

Shell features & Application functionalities

• Shell: calling applications, quoting, IO-redirection, globbing, pipe operator, command substitution, semicolon operator

• Applications: echo, ls, wc, cat, grep, exit, tee, cd, split, mv, uniq, rm, paste, cp

About

A Unix-like bash shell and several relevant applications are designed and implemented to simulate the behaviour of Bash shell in GNU/Linux and Mac OS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published