Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I tried using the command "more /etc/sysconfig/network" to find the gateway address that is assigned to my nic, but that doesn't seem to work consistently across systems. Some have it configured, some don't... Anyway, i really need to figure out the gateway address bound to my NIC, and I'm really tired of searching online, so I thought I would sign up here and just ask.
I'm a Linux n00b, and a formerly devoted Microsoft fan that is trying to give something new a shot (again). I've tried various distros off and on the last few years, and I just came to the conclusion that Linux hates me. I can set up and secure an Active Directory domain with no problem, but I have trouble even changing the screen resolution in Linux...
Originally posted by FatalSystmError TraceRoute should do the trick ... SystemTools > Traceroute
Thanks for the reply, but it's not quite what I'm looking for... I actually need a user that is logging onto a machine via telnet to find the gateway address via the command line. It's part of a lab assignment that I'm having to prove out myself before I can assign it to the students. Any ideas?
Another quick question without starting a new thread... Why isn't /sbin in the path variable by default? It seems like you want easy access to all of those utilities just anytime without having to type in a path... I know that you can add it, but there are so many thing that I don't understand why they are done the way they are...
edit: and why are some things in /usr/sbin instead? I mean, what makes route go in /sbin while traceroute goes in /usr/sbin?
ok / is only on 1 partion (the root partion), and linux only mounts the root partion, meaning that programs on other partions wont work, so by default the / partion has everything a working distro needs to boot and mount and handle simple system tasks that may be required at boot time, however sence some people like to spilt program up, the /usr directory comes in handy, its basicly a copy of the / partion , only its in a difrent directory to organize needed, from not so needed, /usr/local is the same, this one is use for most user installed program to help keep the system clean
/sbin is like / bin only by default its supoed to be restricted so only super users can use the program in /sbin
if /sbin aint in your path then is say add it, not like you can use it anyways (unless your a super user), reasons why it might not be in the path by default : the distro is trying to be idiot resistant