It's probably just not in your PATH. See 'whereis ifconfig' to find out where it's hiding on that system.
I also got the same error when I supplied the full path. I'd supply the script, but it's it's on a seperate network and I can't transfer the script to public domain.
The full path is /usr/sbin/ifconfig. And it runs fine if I do an actual login.
Last edited by Binary Buddha; 08-03-2012 at 06:44 PM..
Reason: forgot stuff
I have to cd into /sbin in order to use ifconfig to check out my network cards. This has only started to happen since I downloaded the last update from RedHat(The machine runs RedHat 8.0).
Does anyone know what happened?
More importantly, are there any sources that can help me with this... (3 Replies)
This will most likely be a real dumb question for a HP-UX admin, but here it goes anyhow.
lan0 - is up and configured
lan1 - is down, I want to bring it up.
lanconfig....ifconfig is there a difference?
My real question is, in solaris there is an /etc/hostname."?" file, is there a... (4 Replies)
I am trying to change an IP address on a machine running HPUX10
After I change it I can ping it from the outside but it completely locks the console. After a reboot it returns back to its previous IP. Any ideas??
Thanks
Brian (7 Replies)
why the ifconfig command is not working in my machine?
it says "-bash: ifconfig: command not found"
why its says that?
actually i m looking for "how can I know the Network Interface Card physical address?"
Requesting u all for help.
thanks (3 Replies)
hey,
I know that ifconfig on linux systems is identical to win ipconfig.
I wanted to know if there is a linux distribution (new or old) that uses the ipconfig command.
thanks alot :) (2 Replies)
Hi all,
I am getting some error messages during bootup
ifconfig :<hostname> bad address
and some more messages related to it.
I some how checked the /etc/hostanem.hme0 /etc/hosts file.
Entries in these files were proper.
If I am running the following command from root:
... (5 Replies)
Hi All,
I need some info on ifconfig.
ifconfig is available in Linux and Solaris. However the options available in Solaris is not there in Linux.
1. ifconfig -a == output is different in both OS. I am somewhat able to compare the output. But one thing I am not getting is after the flags... (2 Replies)
Unable to run the ifconfig in my home dir..
I did add adding /sbin and /usr/sbin in th PATH
But still unable to get that ..
Am using red hat linux
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga) (3 Replies)
What would be the command to remove the IP address from an interface?
I want to remove the ip from this interface:
ce3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
inet 155.216.13.74 netmask fffffff0 broadcast 155.216.13.79
ether 0:3:ba:da:a6:96 (3 Replies)
Discussion started by: Kjons76
3 Replies
LEARN ABOUT OPENDARWIN
tcl_pkgprovide
Tcl_PkgRequire(3) Tcl Library Procedures Tcl_PkgRequire(3)__________________________________________________________________________________________________________________________________________________NAME
Tcl_PkgRequire, Tcl_PkgRequireEx, Tcl_PkgPresent, Tcl_PkgPresentEx, Tcl_PkgProvide, Tcl_PkgProvideEx - package version control
SYNOPSIS
#include <tcl.h>
CONST char *
Tcl_PkgRequire(interp, name, version, exact)
CONST char *
Tcl_PkgRequireEx(interp, name, version, exact, clientDataPtr)
CONST char *
Tcl_PkgPresent(interp, name, version, exact)
CONST char *
Tcl_PkgPresentEx(interp, name, version, exact, clientDataPtr)
int
Tcl_PkgProvide(interp, name, version)
int
Tcl_PkgProvideEx(interp, name, version, clientData)
ARGUMENTS
Tcl_Interp *interp (in) Interpreter where package is needed or available.
CONST char *name (in) Name of package.
CONST char *version (in) A version string consisting of one or more decimal numbers separated by dots.
int exact (in) Non-zero means that only the particular version specified by version is acceptable. Zero means that
newer versions than version are also acceptable as long as they have the same major version number
as version.
ClientData clientData (in) Arbitrary value to be associated with the package.
ClientData *clientDataPtr (out) Pointer to place to store the value associated with the matching package. It is only changed if the
pointer is not NULL and the function completed successfully.
_________________________________________________________________DESCRIPTION
These procedures provide C-level interfaces to Tcl's package and version management facilities.
Tcl_PkgRequire is equivalent to the package require command, Tcl_PkgPresent is equivalent to the package present command, and Tcl_PkgPro-
vide is equivalent to the package provide command.
See the documentation for the Tcl commands for details on what these procedures do.
If Tcl_PkgPresent or Tcl_PkgRequire complete successfully they return a pointer to the version string for the version of the package that
is provided in the interpreter (which may be different than version); if an error occurs they return NULL and leave an error message in the
interpreter's result.
Tcl_PkgProvide returns TCL_OK if it completes successfully; if an error occurs it returns TCL_ERROR and leaves an error message in the
interpreter's result.
Tcl_PkgProvideEx, Tcl_PkgPresentEx and Tcl_PkgRequireEx allow the setting and retrieving of the client data associated with the package. In
all other respects they are equivalent to the matching functions.
KEYWORDS
package, present, provide, require, version
Tcl 7.5 Tcl_PkgRequire(3)