https://github.com/michaelilkanayev1997/shell
Custom command shell
https://github.com/michaelilkanayev1997/shell
c pipe shell
Last synced: 3 months ago
JSON representation
Custom command shell
- Host: GitHub
- URL: https://github.com/michaelilkanayev1997/shell
- Owner: michaelilkanayev1997
- Created: 2023-07-25T18:24:19.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-25T18:34:40.000Z (almost 3 years ago)
- Last Synced: 2025-10-26T00:13:24.652Z (8 months ago)
- Topics: c, pipe, shell
- Language: C
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shell (Bash-like)
This project is a custom command shell implementation, similar to the well-known bash shell. The purpose of this assignment is to gain experience with advanced programming techniques, including process creation, termination, and overriding an existing process. The shell will utilize fundamental system calls such as fork, wait, exec, and more.
## Features:
- pwd
- cd
- nano
- cat
- wc, wc –l, wc –c and wc –w
- cp
- pipe
- clear
- grep and grep -c
- ls, ls –l, ls -l > output_file
- tree
- exit
## How to Use:
In order to run the program in Linux, the following commands must be executed in the terminal at the location of the files:
1. Compile: gcc -o shell source.c main.c
2. Running the program: ./shell
Notes: The tree.c file is activated when needed from the source.c file, so there is no need to activate it.
## Example: