Skip to content

okulinich/ush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

067a1bb · May 26, 2020

History

40 Commits
May 14, 2020
May 9, 2020
May 17, 2020
Feb 19, 2020
May 10, 2020
May 26, 2020
May 17, 2020

Repository files navigation

USH

usage screenshot

This is simple command line interpreter for Unix. Developers: @okulinich, @ailchuk

ush:

  • u - ucode
  • sh - shell

You need clang compiler to be installed to compile this project, or you can change default compiler in Makefile.

Use make to install and ./ush to start shell. make uninstall - uninstall shell make reistall - uninstall & install shell

ush implements builtin commands:

  • export
  • unset
  • exit
  • env with -i, -P, -u
  • cd with -s, -P and - argument
  • pwd with -L, -P
  • which with -a, -s
  • echo with -n, -e, -E

If command is not found among builtin ones, ush searches for needed binary file in folders, specified by $PATH variable.

Shell manages signals CTRL+D, CTRL+C, CTRL+Z and command separator ;

These characters are escaped to be used literally: space, ', ", $, (, ), \\, {, }.

Ush manages tilde expansion ~, the basic form of parameter expansion ${parameter}, command substitution command and $(command).

Command editing is allowed with Arrow keys.

Enjoy!

About

Simple command line interpreter for Unix.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published