edit readme

This commit is contained in:
2024-10-14 23:08:55 +08:00
parent 95a7e6c39b
commit 35a87777ce
3 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -2,11 +2,11 @@
## browser terminal ## 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 ### 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. 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 ### install method
1. Environment: nginx or apache with php 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 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 4. Open the browser and enter the address of your web server, you can see the terminal interface
+1
View File
@@ -4,6 +4,7 @@
- cd - changes the working directory - cd - changes the working directory
- clear - clears the screen - clear - clears the screen
- help - displays this help message - help - displays this help message
- ls - lists the contents of a directory
- mkdir - creates a new directory - mkdir - creates a new directory
- pwd - shows the working directory - pwd - shows the working directory
- rm - deletes a file or directory - rm - deletes a file or directory
+2 -1
View File
@@ -1,2 +1,3 @@
write php write php
write help.txt <command_name>.txt write help.txt <command_name>.txt
edit commands.md