Search Results

Search: Posts Made By: patjones
Forum: Solaris 07-15-2010
3,687
Posted By patjones
Thank you "incredible" for the info. One last...
Thank you "incredible" for the info. One last question. Is there a way to get IP address too?
Forum: Solaris 07-15-2010
3,687
Posted By patjones
Get ethernet address
Hi,

How do I get ethernet (mac) address of all the interfaces (including the unplumbed interfaces) ? I do not want to use ifconfig -a plumb and unplumb. Looking for some other ways. Even c program...
4,720
Posted By patjones
@Tony: I tried that, but it doesnt wait for the...
@Tony:
I tried that, but it doesnt wait for the prompt at the second instance. It prints a blank value

P
4,720
Posted By patjones
@Franklin52: Thanks for your reply. But I can't...
@Franklin52:
Thanks for your reply. But I can't modify the script. All I have to play with is how the argument is passed :(

P
4,720
Posted By patjones
passing argument to shell script that reads user inputs
Hi,
Lets say I have a script "ss" which does this

read abc
echo $abc
read pqr
echo $pqr

Now if I want to pass and argument to only "abc" how do I do it.
If I do

echo "somevalue" | ss,...
10,998
Posted By patjones
try declaring the array outside the while loop ...
try declaring the array outside the while loop
and for double substitution, use eval statement
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 10:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy