Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.77 KB

README.md

File metadata and controls

49 lines (37 loc) · 1.77 KB

My_Shell 🐚

C Linux Ubuntu Windows 11

Welcome to My_Shell! This is a custom shell implemented in C.

Features 🚀

Custom Commands: Implementations of various Linux commands such as pwd, mv, grep, split. 🌈 Colorful Output: ANSI escape codes are used to add colors to the output for a visually appealing experience. 🔥 Custom Prompt: The shell displays a custom prompt with user, hostname, and current directory information. 🚀 Interactive: Allows users to enter commands and see the results interactively. 💻 Cross-Platform: Works on Linux, macOS, and Windows.

Usage 💡

Cloning 📥

First, we clone the repository.

git clone https://github.com/deepesh611/My_Shell.git

Compilation 🛠️

cd ".\My_Shell"
gcc My_Shell.c -o My_Shell

Running the Shell ▶️

./My_Shell

Commands 📝

  • pwd: Displays the current working directory.
  • mv <source> <destination>: Move/rename a file.
  • grep <search_string> <filename>: Search for a string in a file.
  • split <filename> <num_chunks>: Split a file into chunks.
  • exit: Exit the shell.

License 📜

This project is licensed under the MIT License - see the LICENSE file for details.

You can copy and paste this content into your README.md file in your repository. Feel free to customize it further according to your preferences and project details!