Hi I have just got 1st opensuse running how do I check my ip address
Terminal>su>enter>password>enter , ifconfig>enter or ifstatus eth0>enter (zero not O), if you have ethernet card .
That got it thks, do you have to enter su then password to get root before you enter command, i,ve just come over from Ubuntu so is slightly different
On 03/20/2010 01:06 PM, spiky001 wrote:
>
> That got it thks, do you have to enter su then password to get root
> before you enter command, i,ve just come over from Ubuntu so is slightly
> different
You can use “sudo command” to get root privilege on a single command. When you
do this, you will need the full path for commands in /sbin or /usr/sbin as these
directories are not in the path of an ordinary user. Thus
sudo /sbin/ifconfig
would have done the trick.
To check the IP address, you do not need root privilege, all that is missing is the full path of the command as /sbin is not in the normal user’s path. So
/sbin/ifconfig
would work. I normally symlink /sbin/ifconfig to $HOME/bin so that it’s in my path.
/sbin is in the normal user’s path in Ubuntu that’s why it works without the /sbin
or just “ip addr” without quotes
Thks for replies the 2 systems are different just got to learn abit
I will use the forums and learn as i did in ubuntu