hi guys
i am a new to networking and need a bit of help with some linux commands.

i wanted to know the commands used by Windows and Linux to display the full NIC settings. and if you can explain in detail the output of these commands.

any replies would be appreciated.
tc

Recommended Answers

All 11 Replies

I think that ifconfig should do it for Linux. Windows has ipconfig

Just out of interest linux, what does the 'f' stand for there in ifconfig?

is it InterFace config?

Yeah. Type:

man ifconfig

Inside a terminal. It says configure a network interface .

The correct command to list all your network interfaces (and their states) would be:

ifconfig -a

If you're running this as a normal user, you'll probably have to do:

/sbin/ifconfig -a

I'm a normal user. ifconfig -a works just fine.

I'm a normal user. ifconfig -a works just fine.

It all depends on the system. Installation locations for binaries vary between different *nix's, as does their PATH environment variable, but generally speaking, regular users need to use the /sbin/ prefix on that command as ifconfig is considered a 'system binary' (which is what 'sbin' stands for, by the way).

yeah generally linux let you do "ifconfig" but unix systems want the full path (i think some want the full path if you are root too). I believe this is in case some malicious user modified your path or something (e.g replace "ls" with "rm - rf *")

*sigh*
You just said exactly what John A said.
Again.

no. i mentioned the possible security angle

Yep.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.