04-08-2005
$/sbin/ifconfig `grep 'inet addr' | grep -v '127.0.0.0'`
had to struggle with this one a little! hope it helps
moxxx68..
Last edited by moxxx68; 04-08-2005 at 04:36 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
If I want to access unix box via VPN tunnel,from windows box.
What sould I configure on the windows client PC, and what should I enable on the Unix Server box ?
I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies
2. Shell Programming and Scripting
I needed to get a machine's local IP address when not root (so no ifconfig).
Eventually, I arrived at this convoluted solution that grabs the unique local IP info from netstat...
netstat -n -t | awk '{print $4}' | grep -o "*\.*\.*\.*" |\
grep -v "127.0.0.1" | sort -u
...however I... (5 Replies)
Discussion started by: simonb
5 Replies
3. UNIX for Dummies Questions & Answers
I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked.
Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies
4. Linux
I need to execute a shell script on a remote linux box. But the shell script resides on the local linux box where I am currently logged in. Is there a way to do this? I know rsh <host> <command> can execute a command on the remote host. (6 Replies)
Discussion started by: rajeshomallur
6 Replies
5. Shell Programming and Scripting
Hi
our unix admin has copied all files from one unix box to new unix box. We just need to confirm that all the file systems are copied properly. How to validate. (9 Replies)
Discussion started by: sravanreddym
9 Replies
6. Shell Programming and Scripting
Hello all !
I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies
7. Shell Programming and Scripting
We have requirement to get the local system IP address of whoever logined the DataBase(sqlplus) or any process in application server.
Actually I connected to application server thru putty and then conencted to Database using sqlplus command.
we have tried below commands :
who -u|grep... (4 Replies)
Discussion started by: siri_886
4 Replies
8. IP Networking
Im using a X-Terminal in my windows pc to connect to a Linux server.
Is there a way to know my local IP address in my x-terminal console?
Here are few commands which didnt help me:
ss_cc@MGTS5026-13sh1:~> finger
Login Name Tty Idle Login Time Where
loadhlr ... (6 Replies)
Discussion started by: Arun_Linux
6 Replies
9. Debian
I have a new Ethernet device that has a default IP address on a different subnet and need to change it. I have a Debian 6.0 host connected to the device with a crossover cable and have changed the host /etc/hosts and /etc/networks files to the same subnet as the new device and rebooted. Ping... (2 Replies)
Discussion started by: snorkack59
2 Replies
10. IP Networking
Hi all,
I am working with SIP protocol and am using SIPp to generate SIP traffic.
But the call is not going through since I get the error;
2015-02-24 14:09:39:330 1424804979.330517: Can't get local IP address in getaddrinfo, local_host='NODE-01', local_ip=''.
My ifconfig output is;
... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies