Skip to content

vorobeyka/Unix_SHELL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unix_SHELL


A program that simulates behavior of Linux shell zsh.
Developed as study assignment in the Ucode school.

Description:

The program is a Unix shell that can be used as an interactive login shell and as a command 
interpreter for shell scripting. Ush has comand line editing, builtin spelling correction, 
programmable command completion, shell functions (with autoloading), a history mechanism, 
and a host of other features.

Usage:

1. https://github.com/vorobeyka/Unix_SHELL.git
2. make
3. ./ush

Builtins-table:

Builtin Description
cd Change the working directory
pwd Writes the full pathname of the current working directory
chdir Change the working directory
unset Remove variable or function names from enviroment
export Set the export attribute for variables to enviroment
fg Run jobs in the foreground
jobs Print currently running jobs and their status
which Locate a command and display its pathname or alias
echo Write arguments to standard output
env Set the environment for command invocation
exit Cause the shell to exit
true Stop shell with exit status 0
false Stop shell with non-zero exit status

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published