LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-18-2007, 02:12 PM   #1
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Rep: Reputation: 47
BASH command tracert/traceroute not recognized


see above subject. essentially, in ubuntu's terminal, i type sudo tracert/traceroute (ip address), and it says it doesnt recognize the command, even though it is BASH. i even try it without the 'sudo'. any idea whats wrong? do i need to use the 'root terminal'?
 
Old 02-18-2007, 02:42 PM   #2
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 30
Try the following to see if traceroute is installed:
Code:
aptitude show traceroute
If it isn't, then:
Code:
sudo aptitude install traceroute
 
Old 02-18-2007, 02:42 PM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Not sure but maybe /bin is not part of a users enviroment PATH.
Try /bin/traceroute xxx.xxx.xxx.xxx

Or to find use ' whereis traceroute '

Brian
 
Old 02-18-2007, 03:18 PM   #4
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Original Poster
Rep: Reputation: 47
thanks cgjones-it wasnt installed.
 
Old 02-18-2007, 05:56 PM   #5
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 500

Rep: Reputation: 56
i thought it was part of the base installment.. guess not then.
 
Old 02-19-2007, 11:24 AM   #6
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
So if you haven't figured it out by now: traceroute is not a bash built in.
 
Old 02-19-2007, 11:34 AM   #7
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 500

Rep: Reputation: 56
I thought (like most distro's), ubuntu would install these tools by default on the system.

Last edited by teebones; 02-19-2007 at 11:38 AM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set PATH variable for command tracert? princegbenga Linux - Software 2 06-14-2007 08:48 AM
tracert/traceroute dav_y2k Linux - Networking 1 12-06-2006 12:25 PM
Dialog command not recognized on debian sarge's bash!!! CM019 Linux - Newbie 2 02-13-2005 04:37 PM
Strange ip from the result of tracert command mrpc_cambodia Linux - Networking 4 01-25-2005 07:49 AM
Traceroute, tracert??? MattLaw Linux - General 9 05-02-2004 08:57 PM


All times are GMT -5. The time now is 02:22 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration