Skip to content

enfurars/myShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

myShell

Detailed project descrtiption can be found here.

Manuals to Run myShell in Linux

myShell can be started by running:

  • make
  • ./myshell

Implementation Details

  • The executables in the path (including aliases) are executed in fork exec manner and exit, bello, redirections and backgrounding are executed via functions.
  • Commands can have arguments.
  • Exit command is implemented together with checking for background processes. If any, exit prevented.
  • Background processing (&), and redirection operators (">" and "> >") exist and achieve the same task as in bash or zsh.
  • Users are able to create alias by entering the command this way:
    • alias alias_name = "command_name command_args"
    • Aliases are saved and valid even after a restart of the shell.
  • A new re-redirection operator ("> > >") (no spaces) exists. This operator acts exactly as ("> >"), but the order of all letters in the output will be invested.
  • The "bello" command is displaying eight information items about the user, respectively:
    1. Username
      1. Hostname
    2. Last Executed Command : last input from user is shown
    3. TTY
    4. Current Shell Name (not myshell)
    5. Home Location
    6. Current Time and Date
    7. Current number of proccesses being executed: processes under myshell are count. Bello, ps and myshell is included.

About

Simple Shell simulating Bash shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published