首页 >后端开发 >php教程 >ubuntu系统,在终端命令行,有什么命令,可以编辑PHP程序?

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

WBOY
WBOY原创
2016-06-23 14:23:331136浏览

本帖最后由 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

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn