diff --git a/README.md b/README.md index 7a3d342..7a964fa 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@ ## browser terminal -![php8+](https://img.shields.io/badge/PHP-any_version-green) [![license](https://img.shields.io/badge/license-Apache-blue)](https://github.com/hanyixuanten/browser-terminal/blob/main/LICENSE) ![platform](https://img.shields.io/badge/platform-android|ios|windows|macos|linux-lightgrey.svg) +![php](https://img.shields.io/badge/PHP-any_version-green) [![license](https://img.shields.io/badge/license-Apache-blue)](https://github.com/hanyixuanten/browser-terminal/blob/main/LICENSE) ![platform](https://img.shields.io/badge/platform-android|ios|windows|macos|linux-lightgrey.svg) ### Introduction -This is a **web terminal** based on php.It is **not** a terminal for the server or a ssh terminal, but a 'terminal' for the browser. +This is a **web terminal** based on php. It is **not** a terminal for the server or a ssh terminal, but a 'terminal' for the browser. It can be used to run some simple commands, such as ls, cat, mkdir, rm etc. It is suitable for small projects or personal use. @@ -19,7 +19,7 @@ Visit [command.md](https://github.com/hanyixuanten/browser-terminal/blob/main/co ### install method 1. Environment: nginx or apache with php -2. Download the latest release from [this page](https://github.com/hanyixuanten/indexpage/releases) +2. Download the latest release from [this page](https://github.com/hanyixuanten/browser-terminal/releases) 3. Extract the zip file and put it in the root directory of your web server 4. Open the browser and enter the address of your web server, you can see the terminal interface diff --git a/commands.md b/commands.md index e7b87cb..62d47a7 100644 --- a/commands.md +++ b/commands.md @@ -4,6 +4,7 @@ - cd - changes the working directory - clear - clears the screen - help - displays this help message +- ls - lists the contents of a directory - mkdir - creates a new directory - pwd - shows the working directory - rm - deletes a file or directory diff --git a/commands/when_adding_a_new_command b/commands/when_adding_a_new_command index c84dad6..f6e86b2 100644 --- a/commands/when_adding_a_new_command +++ b/commands/when_adding_a_new_command @@ -1,2 +1,3 @@ write php -write help.txt .txt \ No newline at end of file +write help.txt .txt +edit commands.md \ No newline at end of file