QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1362|回复: 3

在什么地方可以写命令,vi还有shell怎样打开?

[复制链接]
发表于 2003-4-8 14:37:08 | 显示全部楼层 |阅读模式
我是个才菜鸟,老听说linux就象dos一样有好多的命令,可怎么找不到在什么地方写命令?
常听说vi,shell,他们都是些什么东西,怎么打开?

还请各位高抬贵手,帮我一把!
发表于 2003-4-8 16:44:08 | 显示全部楼层
You can open a shell prompt by selecting Main Menu => System Tools => Terminal.
In the shell, can type:
vi [filename].
And then you can type e to enter edit status,
then can type i to enter insert status.
If you want to exit the vi state,
press Esc key, Ctrl+:,
than type wq to enter the default shell environment.
With some system files, carefully use vi to modefy them.
回复

使用道具 举报

 楼主| 发表于 2003-4-9 08:22:49 | 显示全部楼层
请问楼上:vi{filename}是什么意思?
我单独键入vi则进到一个界面上面已经写了很多字,不是空白的
回复

使用道具 举报

发表于 2003-4-10 09:43:15 | 显示全部楼层
[quote:b4fc1075e3="zlxcjy"]请问楼上:vi{filename}是什么意思?
我单独键入vi则进到一个界面上面已经写了很多字,不是空白的[/quote]

如果你单独输入vi, 没有带需要编辑的文件名,出来的是vi的启动界面,有一些简单的帮助,输入i,进入编辑模式,就可以输入了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-20 19:30 , Processed in 0.039743 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表