This project is for learning rust. It supports some basic built-in commands, pipeline, redirections and simple completions.
the built-ins support the arg "-h" to show their descriptions.
- echo
- exit
- type
- pwd
- cd
- lsbuiltin
- history
- cp
- > or 1> (redirect stdout to write to a new file)
- >> or 1>> (redirect stdout to append to a file)
- 2> (redirect stderr to write to a new file)
- 2>> (redirect stderr to append to a file)
Use the operator "|" to create pipeline.
The pipeline and redirections depend on the os threads, therefore, the installation path of this application needs to be added to the environment variable $PATH.