LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Three Questions (https://www.linuxquestions.org/questions/linux-newbie-8/three-questions-156851/)

HadesThunder 03-12-2004 04:13 PM

Three Questions
 
I'm new to linux but trying to learn. Could anyone answer the three following questions.
1. How do I run a program from text mode. I know the ls and cd commands but how do i get the program to run ounce I'm in the right partition?
2. Why do people call linux a linux box?
3. How can I get administrator status in x mode.

HadesThunder 03-12-2004 04:14 PM

4. How do i open webpages in text mode?

xbbd 03-12-2004 04:18 PM

Re: Three Questions
 
Quote:

Originally posted by HadesThunder
I'm new to linux but trying to learn. Could anyone answer the three following questions.
1. How do I run a program from text mode. I know the ls and cd commands but how do i get the program to run ounce I'm in the right partition?
2. Why do people call linux a linux box?
3. How can I get administrator status in x mode.

People (like me) call linux or MS boxes simply without any particular reason, or just because indeed every computer is something like a "box". So a "linux box" is just the same as "computer running linux".

Wich distribution ("distro") do you use on your "box" (computer)?

bosewicht 03-12-2004 04:24 PM

do u mean from bash?

computer are boxes

do you mean to launch a prog as root ?

HadesThunder 03-12-2004 05:18 PM

Thanks for answering the box question. Obvious, now that I think about it. Im not well up on running commands as roots. Any chance of answering the other three questions? It will save me being embaressed by asking my friends.

synapse 03-12-2004 05:35 PM

Hi
ok

To run a prog it text mode try just entering the programs name in the terminal window, else if you are running a program from a certain directory that is not in your path , go into the directory and type ./PROGRAM NAME

To run a program as root press alt+f2 and look at the options , check the box that says "Run as a different user" and fill in the blanks

cheers

HadesThunder 03-12-2004 05:50 PM

thanks for that synapse. just one question left, how do I open a webpage in text mode.

dslboy 03-12-2004 05:54 PM

Maybe you should consider a x system for your box:)
What distro do you have, and what did you install with the distro.
Anyways, if you already dont know, type startx and you might find yourself in a somewhat easier environment...

Just a thought...

HadesThunder 03-12-2004 06:00 PM

I tried typing the name of the program from its directory and i get command not found. i also tried typing ./program name and get the same text.

HadesThunder 03-12-2004 06:03 PM

k3b-0.9-1mdk.i586.rpm ppinst-0.01.tar.gz
mozilla-i686-pc-linux-gnu-1.6-installer.tar.gz pppic-0.01.tar.gz
mozilla-installer* test
[root@spc1-seve2-5-0-cust252 Documents]# mozilla-intaller*
bash: mozilla-intaller*: command not found
[root@spc1-seve2-5-0-cust252 Documents]# ./program name
bash: ./program: No such file or directory
[root@spc1-seve2-5-0-cust252 Documents]# . /program name
bash: /program: No such file or directory
[root@spc1-seve2-5-0-cust252 Documents]# mozilla-i686-pc-linux-gnu-1.6-installer .tar.gz
bash: mozilla-i686-pc-linux-gnu-1.6-installer.tar.gz: command not found
[root@spc1-seve2-5-0-cust252 Documents]# test
[root@spc1-seve2-5-0-cust252 Documents]# mozilla-installer
bash: mozilla-installer: command not found
[root@spc1-seve2-5-0-cust252 Documents]# pppic-0.01.tar.gz
bash: pppic-0.01.tar.gz: command not found
[root@spc1-seve2-5-0-cust252 Documents]# mozilla-intaller*test
bash: mozilla-intaller*test: command not found
[root@spc1-seve2-5-0-cust252 Documents]#

Ive tried run, man, command, the name of the file, evrything.

Micro420 03-12-2004 06:16 PM

./mozilla-installer

HadesThunder 03-12-2004 06:21 PM

I've got mandrake 9.1 and i was using a konsol in x. However I am studying linux and trying to switch from windows. typing startx would defeat the purpose, as linux is as slow as windows in x and i want to be competent with text mode. maybe the fact that i am trying to run programs in a consol and not in true text mode is the reason why I get command not found?

dslboy 03-12-2004 06:27 PM

ok, ok, not trying to push anything on you.
But I disagree with your statement that x on linux is as slow as windows, mentioning fluxbox or blackbox, both surprisingly fast and stable... :)

HadesThunder 03-12-2004 06:31 PM

I am not asking for the world. All I want to know is what command in text mode opens/runs a program and I have tried just typing the name of the file as in ms-dos from its directory and got command not found.

HadesThunder 03-12-2004 07:21 PM

thanks so much. All I wanted was a few simple answers and because its friday night and the alcohol is flowing, the majority of the remarks are sarcastic. Enough for me for tonight, time to empty the bottles.


All times are GMT -5. The time now is 05:17 PM.