01-04-2007
I got it mates. we can use the echo command.
echo "<message>" > <terminal full path>
for example; echo "hi krish" > /dev/pts/0
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I've been using unix at college for a few weeks now and I have come up against a few stumbling blocks:
- Most unix commands seem to work w/ regexps - the computers I and my group are allowed to logon to are all itsunXX where XX is a number. if I can {finger @itsun88} to find out that I and... (1 Reply)
Discussion started by: the_man_who
1 Replies
2. UNIX for Dummies Questions & Answers
is there a way to show information on all the users on your system? when i use 'finger' is only shows users names and info who are currently on the system. is there a way to show all accounts? thanx! (5 Replies)
Discussion started by: djatwork
5 Replies
3. Shell Programming and Scripting
Hi,
iam using sunsolaris.
when you type finger command -- it dispalys information about local and remote users.
but here it shows as can't stat /dev/gold:8664
can anybody help what is the solution for this error.
previously the output came.
thanks,
shan (1 Reply)
Discussion started by: shanshine
1 Replies
4. UNIX for Dummies Questions & Answers
Is there any possible way to get rid of the header when I do finger ?
I want to get rid of
Login Name Tty Idle Login Time Office Office Phone
as the header.
Please let me know how to do it. (2 Replies)
Discussion started by: felixwhoals
2 Replies
5. Solaris
I have spark t1000 server in my corp, in global (ip 172.17.0.44) have zone(name www2) ip 172.17.0.15:
In moment when i tried to send {code}#uuencode stats.zip stats.zip | mailx sotnav@domain.ru{code}a message whith sendmail on my www2 I have syslog:
{code}
What's problem please help? (2 Replies)
Discussion started by: sotich82
2 Replies
6. UNIX for Dummies Questions & Answers
Hi there,
I rent two servers hosted by the same provider: OVH.
On server1, I use the mail command to send alert emails to my personal address and it works fine.
On server2, which is newly instaled, I tried the following command and got this answer:
Is there any other package that I need to... (2 Replies)
Discussion started by: chebarbudo
2 Replies
7. UNIX for Advanced & Expert Users
I want to know the correct version of how i should use the finger command in this example below.(os is debian lenny)
(nymserver.pl is located in /home/nymserv directory.)
the two versions are :
(in/etc/inetd.conf)
finger stream tcp nowait nymuser /usr/nym/nymserv nymserv... (3 Replies)
Discussion started by: xstation
3 Replies
8. Homework & Coursework Questions
Write a program using select, which will create some number of child processes that continuously send text messages to the parent process using pipes. Each child has its own pipe that it uses to communicate with the parent. The parent uses select () to decide what pipes should be processed to... (1 Reply)
Discussion started by: ripssingh
1 Replies
9. Solaris
Hi Guys,
I am getting some strange error in /var/adm/messages in my Solaris 10 box with Veritas Cluster and EMC storage.
bash-3.00$ cat /var/adm/messages | egrep -v "lw8|snmp|sshd|xntpd|kern.info|LOGIN|link|service|started|finished|repeated|SS7 Log-daemon|success"
Dec 18 09:58:35 GAMMa2... (1 Reply)
Discussion started by: vivek.goel.piet
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)