Skip to content

itszero/ZeroShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZeroShell (ZRSh)

Introduction

ZeroShell is my implementation of a simple shell. However, I’m not focus on making it a useful shell. It’s only coded for practicing and for the Operating System homework.

ZeroShell is also an open source software, under the MIT license.

Library dependencies

ZRSh currently requires libreadline to work.

Compatibility

ZRSh is known to compile and run on Linux(ArchLinux) and Mac OSX.

Features

  • Display a prompt ([User@Host] path>)
  • Execute a built-in command or external commands
  • history command to query the command line histories
  • Exit the shell through Ctrl-C or exit / quit command
  • Support put the process to the background by using ‘&’
  • Search command in MYPATH, PATH environment variables and search in current directory
  • Set/List environment variables through setenv / listenv commands
  • help to see a brief built-in command help
  • When a process is running, hit Ctrl+C to return to ZeroShell.
  • Supports browsing and modify command line by arrow keys
  • Supports TAB auto-completion
  • Detects if terminal supports color, and colorize the message

About

ZeroShell is my take on a UNIX shell as a OS course homework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages