Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyShell

Command line interpreter implemented in Python.

Supported commands

Built-in commands

  • bg
  • cd [dir]
  • pwd
  • time command
  • clr
  • dir [dir]
  • environ
  • echo [comment]
  • help
  • quit
  • fg
  • jobs
  • set var val
  • shift
  • test
  • umask [mask]
  • unset var

Use help for more detail.

Program execution from the shell is supported without doubt.

Features

Redirection (works only for built-in commands)

echo hello > hello.txt

Pipeline

cat shell.py | wc

Background execution

sleep 10 & sleep 5 &

Batchfile

python shell.py BATCHFILE

About

A minimalist command line interpreter in Python

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

Contributors

Languages