LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-01-2004, 11:39 PM   #1
dhammika
Member
 
Registered: Dec 2003
Location: Colombo. (Sri Lanka)
Distribution: RH 9, RH AS 3, Fedora Core
Posts: 65

Rep: Reputation: 15
Unhappy command not found -- route -n


Hi-------



See, I am using RH9 to practice my network lessons. But at su terminal reply

bash : route: command not found

Pls... Some body help me...



 
Old 01-02-2004, 12:44 AM   #2
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
Try
su -

The - puts you in root's environment which includes its path

or you could
/sbin/route

Last edited by darthtux; 01-02-2004 at 12:46 AM.
 
Old 01-02-2004, 12:49 AM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
the command should work as normal user as well
Code:
[david@zeus david]$ /sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.1.0.1        0.0.0.0         255.255.255.255 UH    0      0        0 tun0
192.168.225.0   0.0.0.0         255.255.255.0   U     0      0        0 vmnet8
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
192.168.66.0    0.0.0.0         255.255.255.0   U     0      0        0 vmnet1
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 wlan0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.1.0.1        0.0.0.0         UG    0      0        0 tun0
 
Old 01-02-2004, 01:56 AM   #4
dhammika
Member
 
Registered: Dec 2003
Location: Colombo. (Sri Lanka)
Distribution: RH 9, RH AS 3, Fedora Core
Posts: 65

Original Poster
Rep: Reputation: 15
Thanks............................................. Its works
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
I am not able to add a new route to my route table using route command prashanth s j Linux - Networking 2 09-03-2005 04:34 AM
Need help with route command dalek Linux - Networking 5 07-15-2005 12:26 AM
how can I use route command ? arong Linux - Newbie 1 12-03-2003 08:54 AM
Route command kelper Linux - General 1 02-24-2003 04:27 AM
route command Mux Linux - Networking 9 05-10-2002 02:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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