Skip to content

francuza9/Minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# MiniShell

MiniShell is a simple shell implementation created as part of the School 42 curriculum. It aims to provide a basic command-line interface with essential functionalities.

## Features

- Basic shell prompt
- Command execution
- Built-in commands

## Getting Started

### Installation

1. Clone the repository:

    ```bash
    git clone git@github.com:francuza9/Minishell.git
    cd MiniShell
    ```

2. Compile the project:

    ```bash
    make
    ```

### Usage

After compilation, you can run MiniShell with:

```bash
./MiniShell
```

Built-in Commands

	•	ENV: Displays the environment variables.
	•	CD: Changes the current directory. Usage: cd [directory].
	•	PWD: Prints the current working directory.
	•	EXPORT: Sets environment variables. Usage: export KEY=VALUE. | export KEY+=VALUE | export
	•	UNSET: Unsets environment variables. Usage: unset KEY.
	•	EXIT: Exits the MiniShell.
	•	ECHO: Displays a line of text. Usage: echo [text]. | echo -n [text]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published