LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2004, 04:13 PM   #1
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Rep: Reputation: 30
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.
 
Old 03-12-2004, 04:14 PM   #2
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Original Poster
Rep: Reputation: 30
4. How do i open webpages in text mode?
 
Old 03-12-2004, 04:18 PM   #3
xbbd
Member
 
Registered: Mar 2004
Distribution: Redhat 8.0
Posts: 54

Rep: Reputation: 15
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)?

Last edited by xbbd; 03-12-2004 at 04:27 PM.
 
Old 03-12-2004, 04:24 PM   #4
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
do u mean from bash?

computer are boxes

do you mean to launch a prog as root ?

Last edited by bosewicht; 03-12-2004 at 04:29 PM.
 
Old 03-12-2004, 05:18 PM   #5
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Original Poster
Rep: Reputation: 30
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.
 
Old 03-12-2004, 05:35 PM   #6
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30
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
 
Old 03-12-2004, 05:50 PM   #7
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Original Poster
Rep: Reputation: 30
thanks for that synapse. just one question left, how do I open a webpage in text mode.
 
Old 03-12-2004, 05:54 PM   #8
dslboy
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware -current
Posts: 157

Rep: Reputation: 30
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...
 
Old 03-12-2004, 06:00 PM   #9
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Original Poster
Rep: Reputation: 30
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.
 
Old 03-12-2004, 06:03 PM   #10
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Original Poster
Rep: Reputation: 30
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.
 
Old 03-12-2004, 06:16 PM   #11
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
./mozilla-installer
 
Old 03-12-2004, 06:21 PM   #12
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Original Poster
Rep: Reputation: 30
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?
 
Old 03-12-2004, 06:27 PM   #13
dslboy
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware -current
Posts: 157

Rep: Reputation: 30
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...
 
Old 03-12-2004, 06:31 PM   #14
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Original Poster
Rep: Reputation: 30
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.
 
Old 03-12-2004, 07:21 PM   #15
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 11:50 AM
Solaris - Questions! Questions! Questions! qs_tahmeed Solaris / OpenSolaris 2 07-16-2005 05:27 AM
window manager questions and/or theme questions t3gah Linux - Software 2 02-27-2005 04:16 PM
Some questions... CryptDragoon Linux From Scratch 2 02-04-2004 08:28 PM
few questions? pudhiyavan Linux - General 2 10-03-2003 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration