Home >Backend Development >PHP Tutorial >ubuntu系统,在终端命令行,有什么命令,可以编辑PHP程序?

ubuntu系统,在终端命令行,有什么命令,可以编辑PHP程序?

WBOY
WBOYOriginal
2016-06-23 14:23:331137browse

本帖最后由 u012362664 于 2013-10-08 05:50:43 编辑

编辑PHP程序的命令。(ubuntu系统内置的命令)

回复讨论(解决方案)

vim 可能你会一阵蛋痛

vim 可能你会一阵蛋痛

ubuntu没有这个命令!

还有其它,内置命令么?

不就是php xx.php这个命令么。貌似还有links这个命令啊 links http://localhost/xx.php

sudo apt-get install vim
关键是你到底是要编辑呢还是要做啥呢...

~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                              VIM - Vi IMproved                                
~                                                                               
~                                 版本 7.3.547                                  
~                           维护人 Bram Moolenaar 等                            
~              修改者 pkg-vim-maintainers@lists.alioth.debian.org               
~                       Vim 是可自由分发的开放源代码软件                        
~                                                                               
~                              赞助 Vim 的开发!                                
~                输入  :help sponsor    查看说明                         
~                                                                               
~                输入  :q               退出                             
~                输入  :help  或    查看在线帮助                     
~                输入  :help version7   查看版本信息        

vi a.php 

gedit a.php
vim a.php

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn