Skip to content

Yunis003/own_shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Own Simple Shell

A simple shell creation in C

Introduction

The Simple Shell is a basic command-line interpreter written in C. It provides a simplified interface for users to interact with the operating system.

Features

  • Execute basic shell commands
  • Provides a simple prompt
  • Support command line arguments
  • Handles I/O redirection

Installation

Follow these steps:

  1. Clone the repository: git clone https://github.com/Yunis003/holbertonschool-simple_shell.git
  2. Navigate to the project: cd holbertonschool-simple_shell
  3. Compile the code: gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o simpleShell
  4. Run the shell: ./simpleShell

Usage

Once the shell is running, you can enter commands in there. Here are a few examples:

  • ls: List files and directories in the current directory
  • pwd: Print the current working directory
  • exit or (CTRL + D): Exit the shell

For more: man page.

Flowchart

Authors

Yunis Gulamov Zahra Israfilova Umudova Fatima

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages