Skip to content

Releases: imoroc/UVash-Custom-Unix-Shell

UVash Final Release

19 Mar 09:05
1c0ce2a

Choose a tag to compare

Final Release of UVash

This release marks the completion of the core architecture for the custom Unix shell, demonstrating low-level system programming and POSIX standard compliance.

Key Features Implemented

  • Command Execution: Robust handling of external binaries via execvp() with dynamic path resolution.
  • Concurrent Processing (&): Parallel execution of multiple commands with strict parent-child synchronization using fork() and waitpid().
  • I/O Redirection (>): Output routing to custom files utilizing file descriptor manipulation and dup2().
  • Built-in Commands: Native implementation of cd for directory traversal and exit for safe process termination.
  • Memory Safety: Optimized pointer arithmetic for zero-copy string parsing and strict memory deallocation to prevent leaks.

Compilation

To run this version locally, compile the source code using:

gcc -Wall -Werror -O2 -o UVash UVash.c