Get the App
SLTechnology News&Howtos  ›  Servers  › 

What should I do if I want to modify the contents of the php file in linux

Shulou Source: shulou.com Published: 2022-06-03 06:37:36 10月03日 Update

What I want to share with you today is how to modify the contents of the php file in linux. I believe many people don't know much about it. In order to make you understand better, I summed up the following contents and looked down together. I'm sure you'll get something.

How to modify the contents of php file by linux

1. First use the ls command to view the files in the current directory

As you can see, there is a file called l.php in the php directory

2. Use vim l.php to modify the contents of the php file, press I to enter "insert mode"

3, use the arrow keys to move the cursor, after the modification is completed, press ESC, and then enter: wq to save.

The above is the linux want to modify the contents of the php file should do a brief introduction, of course, the detailed use of the above differences have to be used by everyone to understand. If you want to know more, welcome to follow the industry information channel!

Tags: File content directory different abbreviated next cursor command that is direction more mode look industry information information channel face channel mobile input Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker MariaDB OPPO Reno Shulou Technology Microsoft