10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
Please, why "echo" instruction:
iphost="$(ssh root@$machine -x "host $machine | awk '/has address/ { print $4 }'")" echo $iphost
display:
g-3.xx.yyy.zz has address 172.16.65.35
instead of:
172.16.65.35
?
Perharps, i have to extract 172.16.65.35 from the... (5 Replies)
Discussion started by: chercheur111
5 Replies
2. Shell Programming and Scripting
Hi friends,
i need to prepare a script ( in perl)
i have a file called "demo.exe" in my local unix host.
i have a list of remote hosts in a file "hosts.txt"
now i need to push "demo.exe" file to all the hosts in "hosts.txt" file.
for this i need to prepare a script(in perl, but shell... (5 Replies)
Discussion started by: siva kumar
5 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I have F5 load balancer on my system and checking service status by opening an ftp session in every 30 seconds. These ftp sessions are being logged in /var/adm/wtmpx and filling up the file. when i run the last command most of the output is this ftp session. I was wondering if there is a... (1 Reply)
Discussion started by: cepxat
1 Replies
4. AIX
Hello,
I need to know How to list the ""current"" ftp connections?
the machine is AIX 6.1
Regards
Ahmed Amer
Cairo,Egypt (5 Replies)
Discussion started by: ahmedamer12
5 Replies
5. Red Hat
Is there a way to create a menu in Gnome terminal to have a list of hosts with ip's like in Putty on Windows? (2 Replies)
Discussion started by: jlouki01
2 Replies
6. IP Networking
Hi,
I have a weird problem.
when ever I do ping command like for example
ping unix.comI get the following message:
# ping unix.com
ping: unknown host unix.com
but when I use host the computer is able to know the host.
# host unix.com
unix.com has address 81.17.242.186
unix.com mail is... (2 Replies)
Discussion started by: programAngel
2 Replies
7. UNIX for Dummies Questions & Answers
hi guys
I have standalone Suse 10 SP3 that when I run
# hostname
webserver
but when I run host command
# host webserver
;; connection timed out; no servers could be reached
I would like to get the IP when I issue
host webserver
x.x.x.x
and the name when
host x.x.x.x... (1 Reply)
Discussion started by: karlochacon
1 Replies
8. Shell Programming and Scripting
How do i get only the IP part from a host call.
For example in my script i put
#!/bin/sh -
#
# @(#)daily.local Tim Golding
#
# Back up
server_ip=`host roadhaulage.com`
echo $server_ip
This echos the following
roadhaulage.com has address 86.54.98.194 roadhaulage.com... (5 Replies)
Discussion started by: timgolding
5 Replies
9. Solaris
Hello,
I have a SUN T5240 running Solaris 10 with Logical Domain Manager (v 1.0.3). You can use the "ldm" command to display current resources on the box. Is there away to display all the "physical resources" on the box(i.e.,used and unused). For example, "ldm ls" will tell me what the... (5 Replies)
Discussion started by: stephanpitts
5 Replies
10. UNIX for Advanced & Expert Users
I will remote a connection to a Unix server and launch a command on this server. This commnand requires me to set a view in Clearcase to see the vob element. How do I set a view an run a command with ssh with the syntax: ssh host command? (3 Replies)
Discussion started by: majo
3 Replies