06-16-2004
I reformulate my question because that I say is not clear.
a=1
b=1.75 or 1,75
if [ $a -lt $b ]
then echo " It is normal 1 < 1,75"
else echo "ANOMAL"
fi
And I want this message: "It is normal 1,75 > 1"
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I Use mkcd for save same directories into DVD, But the commande not complete succefuly
mkcd -r directorie_i_whish_save -d /dev/cd1
please it is very urgent
thank you :confused: :confused: (1 Reply)
Discussion started by: mktahar
1 Replies
2. AIX
I can write into DVD? I have USE "MKCD" command
mkcd -r directorie -d /dev/cd1
please help me it s urgent (2 Replies)
Discussion started by: mktahar
2 Replies
3. IP Networking
I have a system that i want to reach via a vpn created vi a fierwall.The fierwall in an other system.
The ip i am trying to get to is 172.16.4.48
I need to get to it via the hme1 interface.
The vpn gateway has this ip 172.30.50.1
I need to clean up the routing table and make this work; or is it... (5 Replies)
Discussion started by: waterboy
5 Replies
4. UNIX for Advanced & Expert Users
Hi,
I want to create a new environment variable (JAVA_HOME), but when I open a new shell this varible is delete...
to create the variable I do :
export JAVA_HOME=/usr/java/jdk
and I verify with :
echo $JAVA_HOME
and it's work...
But When I open a new shell this variable is forget...
( It... (2 Replies)
Discussion started by: marcel_kobain
2 Replies
5. Filesystems, Disks and Memory
hi
i'm trying to mount my usb device in fedora 7(vmware)
i use the comand:
mount /sda1 /mnt
but when i go to /mnt i find the content of the folder /boot.
can u tell me what's the problem? (2 Replies)
Discussion started by: jalil smail
2 Replies
6. Solaris
Bonjour,
J'ai ajouté par erreur à un sous mirroir des disques de cette facon :
metattach d53 c2t90d0s0 c2t90d1s0 ... alors que j'aurais du faire un stripe par disque (comme ça) :
metattach d53 c2t90d0s0
metattach d53 c2t90d1s0
..
Derriere, j'ai fais un growfs -M du FS pour l'aggrandir et... (1 Reply)
Discussion started by: phil.nakache
1 Replies
7. AIX
Bonjour,
Je travail sur un environnement AIX 5.3 et je n'arrive pas à augmenter mon FS ni mon LV.
J'utilise les commande suivante chfs -a size=+4G /home/guesting
ou extendlv sybase5lv 4 et rien à faire il me retourne que le maximum capacity est atteint au niveau du LV alors qu'il y a des PP de... (6 Replies)
Discussion started by: mosta
6 Replies
8. Linux
bonjour,
j'ai un serveur Linux ayant 2 interfaces eth0 et eth1. j'ai configuré deux adresses IP de deux réseaux différents sur les 2 interfaces, et je les ai connecté sur 2 commutateurs différents.
l'adresse IP de eth0 répond sans problème au ping des équipement de son réseau d'appartenance, malheureusement cela... (1 Reply)
Discussion started by: cerco
1 Replies
LEARN ABOUT PHP
ssh2_methods_negotiated
SSH2_METHODS_NEGOTIATED(3) 1 SSH2_METHODS_NEGOTIATED(3)
ssh2_methods_negotiated - Return list of negotiated methods
SYNOPSIS
array ssh2_methods_negotiated (resource $session)
DESCRIPTION
Returns list of negotiated methods.
PARAMETERS
o $session
- An SSH connection link identifier, obtained from a call to ssh2_connect(3).
RETURN VALUES
EXAMPLES
Example #1
Determining what methods were negotiated
<?php
$connection = ssh2_connect('shell.example.com', 22);
$methods = ssh2_methods_negotiated($connection);
echo "Encryption keys were negotiated using: {$methods['kex']}
";
echo "Server identified using an {$methods['hostkey']} with ";
echo "fingerprint: " . ssh2_fingerprint($connection) . "
";
echo "Client to Server packets will use methods:
";
echo " Crypt: {$methods['client_to_server']['crypt']}
";
echo " Comp: {$methods['client_to_server']['comp']}
";
echo " MAC: {$methods['client_to_server']['mac']}
";
echo "Server to Client packets will use methods:
";
echo " Crypt: {$methods['server_to_client']['crypt']}
";
echo " Comp: {$methods['server_to_client']['comp']}
";
echo " MAC: {$methods['server_to_client']['mac']}
";
?>
SEE ALSO
ssh2_connect(3).
PHP Documentation Group SSH2_METHODS_NEGOTIATED(3)