LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-18-2004, 02:00 PM   #1
Syntron
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
where are the commands...?!?


Hello,
I am new on linux and so i am new at this forum too, please don´t cry at me if i ask so "simple" questions.
So my problem...
If got a old Notebook (P90, 24 MB Ram) but this one got no cd-drive, so i searched after a floppy-based linux distribution which i found at : tiny.seul.org/de/
i installed it without problems (14 disks are too many *g*) but then i wondered...
It was a bash shell ok, thats sounds good. But commands like ping,traceroute and so on are dont work (bash: ping: command not found).
So i need help, can i patch that in a way? If yes how, please descripe it very detailed
Thanks infront,

Syntron

Last edited by Syntron; 10-18-2004 at 02:02 PM.
 
Old 10-18-2004, 02:53 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
You seem to be in luck (kind of). Your distro doesn't use binary packages, everything is compiled. So, go to www.freshmeat.net or www.sourceforge.net and search for the packages - you want the ones ending in .tar.gz, .tgz or .bz2. Uncompress them and install them according to the instructions included in the compressed file.

And welcome to LQ
 
Old 10-18-2004, 03:24 PM   #3
Syntron
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Original Poster
Rep: Reputation: 0
I thank you very much for this quick good answer
Ok, i will try that. What packages will i need for go in the internet over router(hradware)?

Thanks you much,

Syntron
 
Old 10-18-2004, 11:35 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Before you go installing things you may not need to install, verify what you have. If bash doesn't know where something is, you get the 'command not found' message (the command isn't in your path). To verify that you don't have ping, open a terminal and enter the command 'which ping' without quotes. If you get an answer like '/bin/ping', then you have it; bash just can't find it because it's not in your path.
Two ways to fix it.
From the command line, as root user, give the command 'PATH=/bin', then 'export $PATH'.
OR
To use ping, or any other command not in you path, give the full path to the command when you use it, like this: /bin/ping. By giving the full path, you tell bash where to find it. Otherwise, bash looks through the directories in you path, and if it doesn't find the command, you get 'command not found'.

Last edited by bigrigdriver; 10-18-2004 at 11:36 PM.
 
Old 10-18-2004, 11:51 PM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Quote:
Originally posted by bigrigdriver

From the command line, as root user, give the command 'PATH=/bin', then 'export $PATH'.

This will make the PATH /bin only. If lets say /sbin wasn't in your PATH do
Code:
PATH=$PATH:/sbin; export $PATH
this will add /sbin to the end of the current PATH.
 
Old 10-19-2004, 12:16 AM   #6
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
I stand corrected. And thanx darthtux for the correct info.
 
Old 10-19-2004, 12:37 AM   #7
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
No prob. You posted excellent information. You don't know how many times I have to edit my own posts
 
Old 10-19-2004, 07:15 AM   #8
Syntron
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you much too,

If you with the command "which" after ping and traceroute and he didn´t found them, so i have to install them
I am looking forward to setting up linux "completely".

Bye
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Commands Instantly Linux - Newbie 3 01-12-2005 01:18 PM
commands tslinux Linux - Newbie 1 12-15-2004 06:54 AM
commands merchtemeagle Linux - Newbie 6 10-12-2004 10:38 AM
Help with commands! snowbaby Linux - Software 1 12-02-2001 02:15 PM
Commands Susan Linux - General 5 10-11-2001 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:11 AM.

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
Open Source Consulting | Domain Registration