Skip to content

This practice asked to design and implement, in C language and over the UNIX/Linux Operating System, a program that acts like a shell. A shell allows the user to communicate with the kernel of the Operating System using simple commandsor a sequence of commands and commands with redirections.

Notifications You must be signed in to change notification settings

teresamattil/Minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minishell

This practice asked to design and implement, in C language and over the UNIX/Linux Operating System, a program that acts like a shell. A shell allows the user to communicate with the kernel of the Operating System using simple commandsor a sequence of commands and commands with redirections. For the management of processes, we will use the POSIX system calls such as fork, wait, exit. For process communication pipe, dup, close and signal system calls. The minishell reads and executes the commands using the standard input (file descriptor = 0). It uses the standard output (file descriptor = 1) to show on the screen each result. And it uses the standard error (file descriptor = 2 ) to show the occurred errors. For the development of this lab a parser is given to us. This parser can read the commands introduced by the user.

About

This practice asked to design and implement, in C language and over the UNIX/Linux Operating System, a program that acts like a shell. A shell allows the user to communicate with the kernel of the Operating System using simple commandsor a sequence of commands and commands with redirections.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published