https://github.com/ovuiproduction/unix-file-system-simulation
https://github.com/ovuiproduction/unix-file-system-simulation
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ovuiproduction/unix-file-system-simulation
- Owner: ovuiproduction
- Created: 2023-12-05T14:42:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-17T18:08:58.000Z (4 months ago)
- Last Synced: 2025-02-17T19:22:46.158Z (4 months ago)
- Language: C
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Unix File System Simulation using N-ary Tree
### Overview
This project simulates a Unix-like file system using an N-ary tree data structure. It provides essential file and directory operations such as creation, deletion, traversal, and renaming. The project also includes a command-line interface that mimics Unix shell commands.
### Tech Stack
```bash
# Programming Language
C# Data Structures
N-ary Tree# Concepts
File System Management
```### File System Operations
```bash
# Create a new directory
mkdir# Create a new file
touch# Change directory
cd# List files and directories
ls# Display the current path
pwd# Delete a file or directory
rm# Copy a file or directory
cp# Move or rename a file or directory
mv# Display file content
cat# Search for a file or directory
find
```
### Features1. File and Directory Management: Create, delete, rename, and move files and directories.
2. Navigation: Change directories (cd), list contents (ls), and print the working directory (pwd).
3. File Operations: Create files (touch), read content (cat), and copy files (cp).
4. Search: Find files and directories using the find command.
Mimics Unix Shell Commands: Supports basic Unix commands like mkdir, rm, mv, etc.
### Installation
Use the following commands to install and run the project:
```bash
git clone https://github.com/ovuiproduction/Unix-File-System-Simulation.git
cd Unix-File-System-Simulation
gcc -o Unix_File_System_Simulation.c
./Unix_File_System_Simulation
```