LinuxQuestions.org
Visit Jeremy's Blog.
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 01-21-2001, 06:31 PM   #1
jclinansmith
LQ Newbie
 
Registered: Jan 2001
Posts: 16

Rep: Reputation: 0
Question


I have installed linux 7.0 cleanly. no other operating systems exist on the pc. i get tothe log on prompt and log on root and password. but from there, i cant do anything. any command i enter is command not found. can somebody pleaz help me out with this? i would really appreciate that. thanx.
 
Old 01-21-2001, 07:10 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,354

Rep: Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262
Hmm..very strange. What happens if you type 'echo $PATH'?
 
Old 01-21-2001, 07:42 PM   #3
jclinansmith
LQ Newbie
 
Registered: Jan 2001
Posts: 16

Original Poster
Rep: Reputation: 0
well, i typed the command and it just popped me back at the command prompt again. [server@localhost server]$
go figure. this is my first experience with linux, i knew it was gonna be a little tougher than win. lol
 
Old 01-21-2001, 07:56 PM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,354

Rep: Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262
Sounds like your path is not set. What shell are you using? If you are not sure type 'echo $0'.
 
Old 01-21-2001, 08:00 PM   #5
jclinansmith
LQ Newbie
 
Registered: Jan 2001
Posts: 16

Original Poster
Rep: Reputation: 0
typed in echo $0 and the next line said bash.
 
Old 01-21-2001, 08:05 PM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,354

Rep: Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262
Type the following command and then see if things work better for you.
Code:
export PATH=/bin:/usr/bin:/usr/local/bin
You can also add any other directory you would like (You may want to add /sbin and /usr/sbin for example).
 
Old 01-21-2001, 08:10 PM   #7
jclinansmith
LQ Newbie
 
Registered: Jan 2001
Posts: 16

Original Poster
Rep: Reputation: 0
well, maybe its time for me to try caldera open instead. lol. I typed in the command verbatim and it just goes to the same command prompt [server@localhost server]$

by the way, thanx for the reply's. anything helps me at this point of time.
 
Old 01-21-2001, 08:23 PM   #8
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,354

Rep: Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262
You should go right back to a prompt. Originally you said "any command i enter is command not found". If you type one of those commands do you still get command not found? What commands are you typing?
 
Old 01-21-2001, 08:37 PM   #9
jclinansmith
LQ Newbie
 
Registered: Jan 2001
Posts: 16

Original Poster
Rep: Reputation: 0
just looking thru some web sites and other groups for some help as well. i got stuff like /sbin/startx. someone told me to enter dir, /gui,startkde,startx and others. those i get no command found.
 
Old 01-21-2001, 08:53 PM   #10
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,354

Rep: Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262
If you want to execute a command by just typing its name, the program must be in your path. For example - startx is usually located in /usr/X11R6/bin. To run startx either type /usr/X11R6/bin/startx or put /usr/X11R6/bin in your path. You can always see your current path by typing 'echo $PATH'.
 
Old 01-21-2001, 09:08 PM   #11
jclinansmith
LQ Newbie
 
Registered: Jan 2001
Posts: 16

Original Poster
Rep: Reputation: 0
well, i hope i am doing this right. i typed in /usr/x11r6/bin and ......./startx from root and it tells me "no such file or directory". i gotta be doing something wrong here.
 
Old 01-21-2001, 09:12 PM   #12
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,354

Rep: Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262
OK. Try this. Type "whereis startx". Then cd to that directory and type "./startx".
 
Old 01-21-2001, 09:15 PM   #13
jclinansmith
LQ Newbie
 
Registered: Jan 2001
Posts: 16

Original Poster
Rep: Reputation: 0
ok, typed in whereis startx.
"start x:"
then dropped me back at the root. cd to startx and states "no such file or directory". that sounds bad.
 
Old 01-21-2001, 09:37 PM   #14
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,354

Rep: Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262
startx should be in one of two places. Either /usr/X11R6/bin/startx or /usr/bin/X11/startx. Try cd'ing to /usr/X11R6/bin and /usr/bin/X11. From in one of these directories type ./startx (Try it once in each diretory). If you do not have either directory you may not have installed X.
 
Old 01-21-2001, 09:39 PM   #15
jclinansmith
LQ Newbie
 
Registered: Jan 2001
Posts: 16

Original Poster
Rep: Reputation: 0
doing a reinstall to make sure i got this right. may have screwed up during install. i will post back with results. thanx
 
  


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
Confused Newbie jimbo-62 Linux From Scratch 16 09-06-2005 10:16 AM
Newbie here .. Extremely Frustrated with Debian (booting to network to Perl) kwng Linux - Newbie 8 08-08-2005 10:42 AM
Help for A Very Confused Newbie.. flamesrock Mandriva 15 08-30-2003 09:20 PM
Im So Extremely Confused Excelsior Linux - General 3 02-06-2003 07:01 PM
newbie soo confused edman Linux - General 3 12-18-2000 07:02 PM


All times are GMT -5. The time now is 11:38 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