命令提示符/控制台 [英] command prompt/console

查看:106
本文介绍了命令提示符/控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我之前从未使用过linux,所以我拥有的是一个非常基本的问题


基本上我一直在使用Linux机器(更具体地说是Red Hat) linux)。

这台机器安装了所有东西,即MySQL,apache和PHP。


我已经知道apache(httpd)和mysql(mysqld)是作为一项服务运行,现在我要做的是启动MySQL窗口,即我可以在select * from table1的行中键入内容的窗口;

Windows中的
我只是在apache启动后得到一个dos类型的窗口来输入sql查询。


但在linux中,我找不到控制台或者我需要用来启动这个东西的程序。


Aplogies如果这是非常基本的,但我得到了这个linux。并且一直在网上寻找答案。


任何帮助都会有很大帮助

解决方案

我不知道自称是mysql的专家,但它看起来像http://www.yolinux.com/TUTORIALS/LinuxTutorialMySQL.html(第一个google hit forlinux mysql console)似乎有一个有用的基础介绍如何基本上做你要求的。如果这没有帮助,请告诉我们哪些部分不起作用。


最好的问候,

Paul


< blockquote>嗨prn,


感谢您的回复,虽然它不是我想要的。


基本上,我正在尝试找到linux控制台,更重要的是找到mysql控制台。


让我解释一下:

下面的文字是linux命令


man -k文件


我在哪里输入这些命令,即如何进入允许的程序/控制台我输入这些命令

例如,在windows中,为了得到dos我会去开始 - >程序 - >配件 - >命令提示符

进入windows控制台。


也启动MySQL数据库,我相信我需要输入:

/etc/rc.d/init.d/mysqld start

但是,我再次输入这个。


我知道这可能听起来像一个简单的问题,也许我不是正确地说它。但我已经看了整个linux机器上的这个控制台或程序。事实上,我不知道我正在寻找的实际事物的名称使整个事情变得更加困难。


Hi, i''ve never used linux before, so what i have is a really basic question

Basically i''ve been qiven a linux machine (more specifically Red Hat linux).
This machine has everything installed, i.e. MySQL, apache and PHP.

I already know that apache (httpd) and mysql (mysqld) are running as a service, now what i''m trying to do is to start the MySQL window, i.e. the window that i can type something along the lines of "select * from table1;"

in windows i just get a dos type window to enter the sql queries into, after apache is started.

But in linux, i can''t find the console or program that i need to use to get this thing to start.

Aplogies if this is really basic, but i just got given this linux. and have been looking searching all over net for answers.

any help would be of great help

解决方案

I don''t claim to be an expert on mysql, but it looks to me like http://www.yolinux.com/TUTORIALS/LinuxTutorialMySQL.html (the first google hit for "linux mysql console") seems to have a useful basic intro for how to do essentially what you are asking. If this does not help, let us know what part doesn''t work.

Best Regards,
Paul


Hi prn,

thanks for the reply, though it''s not quite what i''m after.

Basically, i''m trying to find the linux console, and more importantly the mysql console.

Let me explain:
the text below is a linux command


man -k files

where do i type these commands into, i.e. how do i get to the program/console that allows me to type these commands
for example, in windows, to get to dos I would go to start --> programs --> accessories --> command prompt
to get to the windows console.

also to start the MySQL database, i believe that i need to type:
/etc/rc.d/init.d/mysqld start
but, again, were do i type this into.

I know this may sound like a simple question, maybe i''m not phrasing it properly. but i''ve looked all over the linux machine for this console or program. the fact that i don''t know the name of the actual thing that i''m loooking for makes the whole thing more harder.


这篇关于命令提示符/控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆