Skip to content

A tiny shell supporting several built-in commands, pipes and redirection!

Notifications You must be signed in to change notification settings

toasty-hazelnut/tiny-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny Shell

Execute built-in commands and executable files

login loign

compile loop.c which does an infinite loop for future testing compileloop

execute the loop executable: start one foreground job and one background job runloop

switch job between background and foreground bgfg

view history list and execute history command history

logout and quit
when there are suspended (stopped) jobs, user can't logout.
the quit command kills all existing jobs and then quits. logoutquit

Pipes and redirection

simple redirection simple_redir

multiple redirection operators multiple_redir1

use fd number in redirection operation multiple_redir2_usefd

redirection can appear anywhere in a command redir_random_pos

multiple pipes pipe_multiple

both built-in commands and executables can be in pipes pipe_builtin_plus_executable

pipes and redirection operators combined pipe_redir_combined

pipe_redir_combined2

About

A tiny shell supporting several built-in commands, pipes and redirection!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published