Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 1.34 KB

README.md

File metadata and controls

52 lines (42 loc) · 1.34 KB

Luna Terminal

Luna Terminal is a simple command-line interface program written in C, designed to provide basic file and directory management commands within a terminal environment. The project offers functionality such as listing files, changing directories, creating directories, and removing files, making it a lightweight and useful tool for handling simple file operations.

Features

  • List Files: List all files and directories in the current working directory.
  • Change Directory: Navigate to a specified directory.
  • Make Directory: Create a new directory.
  • Remove File: Delete a specified file.
  • Exit: Terminate the Luna Terminal session.

Commands

The following commands are supported:

  • ls : Lists all files and directories in the current directory.
  • cd : Changes the current directory to .
  • mkdir : Creates a new directory with the name .
  • rm : Removes the specified .
  • exit : Exits the Luna Terminal.

Building with CMake

  1. Clone this repository:
git clone https://github.com/lunastev/LunaTerminal.git
cd LunaTerminal
  1. Create a build directory and navigate to it:
mkdir build
cd build
  1. Run CMake to configure the project:
cmake ..
  1. Build the project using make:
make
  1. Run the compiled program:
./LunaTerminal