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. |
4. How do i open webpages in text mode?
|
Re: Three Questions
Quote:
Wich distribution ("distro") do you use on your "box" (computer)? |
do u mean from bash?
computer are boxes do you mean to launch a prog as root ? |
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.
|
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 |
thanks for that synapse. just one question left, how do I open a webpage in text mode.
|
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... |
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.
|
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. |
./mozilla-installer
|
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?
|
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... :) |
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.
|
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.
|
sarcastic? it sounds to me like people here are trying to help.... and its true that as a sysadmin you should know a thing or two about researching the actual chipset instead of a branded name...
Im rather new to linux, but I do know that not all "programs" run off a single dos-like executable like windows... good luck nonetheless... |
tried ./mozilla-installer , still the same response. sorry if i seemed rude earlier its been a tough nigh and i have spent 3 hours trying to find a simple command.
dslboy, i disagree, even though windows is filled with bad software and crap, under the same resolution, explorer in me is faster than konquerer in x. Maybe its different for some programs but the reason I chose to learn linux is that graphics cripple programs and I want maximum speed. Anyway, will try in text mode rather than consol tommorow. |
check /usr/local/bin
and if you find it, just type the name should do the trick, also check the hidden dirs in your user's home catalog... That's the advice i can give you... |
lynx is a good choice for browsing webpages in textmode.
on your mozilla installer problem: maybe you need to be root: in terminal: type 'su', hit enter, give password. (type 'exit' to leave root-session) if ./mozilla-installer doesn't work, try chmod u+x mozilla-installer which makes a file executable for the user owning it. if you are not owner of a file,(find it out with 'ls -l') type: chown user file You need to be root for doing so. I guess you are sure you are in the right directory. If not try find / -name mozilla-installer where / is root directory, give specific directory to save some time. e.g. if you are sure it is somwhere in your home directory, use: find ~ -name mozilla-installer mfg bronko |
Quote:
|
yes, i entered the exact text and got command not found
|
[root@spc1-seve2-5-0-cust252 Documents]# ./mozilla-installer*
./mozilla-installer: line 53: ./mozilla-installer-bin: No such file or directory [root@spc1-seve2-5-0-cust252 Documents]# ls 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]# is this enough? |
and yes i tried ./mozilla-installer
and got knowher |
All times are GMT -5. The time now is 10:49 PM. |