Skip to content

Commit

Permalink
>>> Change to $
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaStev committed Oct 7, 2024
1 parent 5e8e8f7 commit 7a8ba7b
Showing 1 changed file with 46 additions and 1 deletion.
47 changes: 46 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,49 @@ 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.
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 <directory> : Changes the current directory to <directory>.
* mkdir <directory> : Creates a new directory with the name <directory>.
* rm <file> : Removes the specified <file>.
* exit : Exits the Luna Terminal.

# Building with CMake

1. Clone this repository:
```bash
git clone https://github.com/lunastev/LunaTerminal.git
cd LunaTerminal
```

2. Create a build directory and navigate to it:
```bash
mkdir build
cd build
```

3. Run CMake to configure the project:
```bash
cmake ..
```

4. Build the project using make:
```bash
make
```

5. Run the compiled program:
```bash
./LunaTerminal
```

0 comments on commit 7a8ba7b

Please sign in to comment.