09-07-2004
actually!
actually it worked !
I have no words to tell you how amazed I am at the fact that i missed it by a mile trying to script it in when it was so simple..
{ clear; date; pwd; tty; printf " etc etc" > /dev/pts/3 }
thanx a million..
thanx moxxx68
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I cahnge my plan under my profile? (5 Replies)
Discussion started by: D3adRabbit
5 Replies
2. Shell Programming and Scripting
:D could any one answer my previous question...
just looked through logg and found no such question that I had asked.. please any input would help \..
:confused: (2 Replies)
Discussion started by: moxxx68
2 Replies
3. HP-UX
Hi,
Suppose I have 3 disks c0t0d0, c0t0d1, and c0t0d2 all with the *same* VGID.
I then run:
# vgchgid /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d1
(notice I *accidentally* skipped the third disk!)
How would I fix this so that all 3 disks have the same VGID again?
I'm looking for step-by-step... (7 Replies)
Discussion started by: apra143
7 Replies
4. AIX
Dear All
i am working on windows plattform and i am interested in Aix so i have done IBM Aix certification, can you please suggest Aix filed is good for my carrier,currently i am working as Desktop admin
edit by bakunin: please understand that the question you raised has nothing to do with the... (1 Reply)
Discussion started by: manzur13
1 Replies
5. Shell Programming and Scripting
Hello all, I am trying to pass or trying to get a variable assinged...but seemed like i am doing something wrong here....
so lets say abc.txt(spool the output out) is my file, where i am doing select * Fro mv$version inside my DB and getting some info.
-/home/oracle/logs >cat abc.txt
SQL>... (1 Reply)
Discussion started by: abdul.irfan2
1 Replies
6. Linux
Hi,
I am confused on apache service. Please advice me
There is no apache directory in my linux box. Even I cant find out httpd.conf file also.
But If browse my Hostname in Internet Explor, I can able to apache service there.
Please How it is working ..
This file is available in... (1 Reply)
Discussion started by: Mani_apr08
1 Replies
7. Shell Programming and Scripting
I have a file as follows:
1
3
7
12
78
...
999998
1000000
I want to find out all numbers not in the file above and put into another file like
2
4
5
6
8
9
10 (13 Replies)
Discussion started by: dtdt
13 Replies
8. UNIX for Beginners Questions & Answers
Hi,
I have an unexpected reboot happening on a Debian 9.9 server.
Yesterday 2019-12-01 at 8:30:34 a reboot happened without me or my team being aware:
/var/log/syslog:Dec 1 08:30:34 xxxx shutdown: shutting down for system reboot
/var/log/syslog:Dec 1 08:30:34 xxxx init: Switching to... (4 Replies)
Discussion started by: chebarbudo
4 Replies
PTY(4) BSD Kernel Interfaces Manual PTY(4)
NAME
pty -- BSD-style compatibility pseudo-terminal driver
SYNOPSIS
device pty
DESCRIPTION
The pty driver provides support for the traditional BSD naming scheme that was used for accessing pseudo-terminals. When the device
/dev/ptyXX is being opened, a new terminal shall be created with the pts(4) driver. A device node for this terminal shall be created, which
has the name /dev/ttyXX.
New code should not try to allocate pseudo-terminals using this interface. It is only provided for compatibility with older C libraries that
tried to open such devices when posix_openpt(2) was being called.
FILES
The BSD-style compatibility pseudo-terminal driver uses the following device names:
/dev/pty[l-sL-S][0-9a-v] Pseudo-terminal master devices.
/dev/tty[l-sL-S][0-9a-v] Pseudo-terminal slave devices.
DIAGNOSTICS
None.
SEE ALSO
posix_openpt(2), pts(4), tty(4)
HISTORY
A pseudo-terminal driver appeared in 4.2BSD.
BUGS
Unlike previous implementations, the master slave device nodes are destroyed when the PTY becomes unused. A call to stat(2) on a nonexistent
master device will already cause a new master device node to be created. The master device can only be destroyed by opening and closing it.
The pty driver cannot be unloaded, because it cannot determine if it is being used.
BSD
August 20, 2008 BSD