8000 GitHub - Roshanakk/minishell: Our cute minishell
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
< 8000 div id="js-flash-container" class="flash-container" data-turbo-replace>

Roshanakk/minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minishell

Minishell is a simple Unix shell implementation, the goal of this project is to create a functional shell that can execute commands, manage processes, and handle various shell features while demonstrating proficiency in system calls and process management.


Features

  • Command Execution: Execute both built-in and external commands.
  • Environment Variables: Access and modify environment variables.
  • Input/Output Redirection: Redirect input and output to and from files.
  • Pipes: Connect commands using pipes to enable command chaining.
  • Signal Handling: Gracefully handle signals like SIGINT.

Run the project

git clone <link of the repo>
cd minishell
make
./minishell

Welcome to our cute little shell !

Usage

You can now run commands. Here are a few examples :

  • Run a built-in command :
echo "Hi, stranger!"
  • Redirect output to a file:
echo "Never gonna give you up" > rick_astley.txt
  • Pipe commands :
cat rick_astley.txt | grep "never gonna let you down"
  • Use heredoc :
cat << EOF
Oooooh
EOF

About

Our cute minishell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0