Command line interpreter implemented in Python.
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.
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