Skip to content

ailchuk/ush

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USH

usage screenshot

This is simple command-line interpreter (based on bash) for Unix.

How to use

Compilation:

make
./ush

Reinstalliation:

make reinstall
./ush

Uninstalliation:

make uninstall

Implemented functionality

Builtin commands withщге flags

  • export
  • unset
  • exit
  • true
  • false
  • return
  • bye
  • set

Builtin commands with flags

  • 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.

Developers:

License

Collision is an open-sourced software licensed under the MIT license.

About

Simple command line-interpreter for Unix.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.1%
  • Makefile 2.9%