A Shell implementation for Linux 🙂
By far not a complete one, it implements some very basic features.
- Unit commands with multiple parameters:
- ls -la
- Chained commands using "|":
- ls -la | grep "foo"
- ls -la | grep "foo" | more
- Redirect terminal input and output to external files using "<" for default input and ">" for default output:
- sort < foo.txt > bar.txt
- Redirect terminal output to external files using ">>". Unlike the ">" operator, if the file already exists, it will append the output to the file content:
- sort < foo.txt >> bar.txt
- Mixed operators:
- sort < foo.txt | grep "x" > bar.txt
- sort < foo.txt | grep "x" >> bar.txt