pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/ovuiproduction/Unix-File-System-Simulation

onymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-8522af645b000615.css" /> GitHub - ovuiproduction/Unix-File-System-Simulation: This project simulates a Unix-like file system using an N-ary tree data structure, enabling efficient file and directory management. It supports essential operations like creation, deletion, traversal, and renaming while providing a command-line interface that mimics Unix shell commands for an intuitive user experience. · GitHub
Skip to content

ovuiproduction/Unix-File-System-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unix File System Simulation using N-ary Tree

Demo

Demo Video

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

# Programming Language
C

# Data Structures
N-ary Tree

# Concepts
File System Management

File System Operations

# Available commands (usage)
man                      # Display help
ls [-l]                  # List files/directories, -l for details (date/type)
pwd                      # Print working directory
cd <dir>                 # Change directory (.., ~ or / supported)
mkdir <dir>              # Create a new directory
touch <file>             # Create a new empty file
rm <file/dir>            # Remove a file or empty directory
cp <src> <dst>           # Copy file (files only)
mv <src> <dst_dir>       # Move file or directory into destination directory
rename <old> <new>       # Rename file or directory in current dir
cat <file>               # Display file content
echo > <file>            # Write a single line to file (overwrites or creates)
find <name>              # Find file/directory path (searches entire tree)
tree                     # Display directory tree for current directory
clear                    # Clear the screen
exit                     # Exit the program

Features

  1. 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:

git clone https://github.com/ovuiproduction/Unix-File-System-Simulation.git
cd Unix-File-System-Simulation
gcc Unix_File_System_Simulation.c -o app.exe
./app.exe

About

This project simulates a Unix-like file system using an N-ary tree data structure, enabling efficient file and directory management. It supports essential operations like creation, deletion, traversal, and renaming while providing a command-line interface that mimics Unix shell commands for an intuitive user experience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy