Skip to content

idan22moral/mosh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moral Shell

A simple implementation of an interactive shell.

Installation

Simply clone the repository and make it.
The executable will be at the build directory.

git clone https://github.com/idan22moral/mosh
cd mosh
make

Usage

cd build
# run regularly
./mosh
# run in debug mode
./mosh -d

Command List

  • Every executable on your machine can be run using mosh.
  • You can use boop to exit mosh.

Examples

$ echo "abc" | xxd
00000000: 6162 630a                                abc.
$ cd /home/idan/Desktop
$ cat secret.txt
Keep it between us: mosh = Moral Shell.
$ cd /
$ pwd
/
$ cd -
/home/idan/Desktop
$ boop

Notes

  • Redirections to files (like the operator >) are not supported.
  • Parentheses and curly brackets (subshells, basically) are not supported.
  • Comments are not supported.

Releases

No releases published

Packages

No packages published