Skip to content

msh_v1.0

Compare
Choose a tag to compare
@nanafox nanafox released this 10 Nov 17:38
· 52 commits to main since this release

msh_v1.0

msh v1.0 is equipped with the following features that it supports confidently:

  • PATH handling
  • Commands with or without arguments
  • Setting and unsetting environment variables using setenv and unsetenv commands respectively
  • Viewing environment variables with env and printenv commands
  • Variable expansion, including $$ and $?
  • The exit command
  • The cd command
  • File input
  • Command separators, for example, ls -l; cat /etc/passwd

The above features are supported robustly and the msh v1.0 is capable of handling them with ease.

If you want to try out the msh shell, you need to download it first. Once it's downloaded, you should make it executable. Here's how to do it:

  1. Download the msh_v1.0 binary file.
  2. Typically, the file will be in your Downloads folder.
  3. Use the command chmod +x msh_v1.0 to make the file executable.
  4. Run the file by typing ./msh_v1.0.

You can also add it to your PATH, which will allow you to run it from any location.

Here's a sample of it's usage.
image