9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In bash, you can do something like this:
#!/bin/bash
echo -n "What is your name? " > /dev/tty
read thename < /dev/tty
How can I do the same in python?
I have a python script that has the following content:
#!/usr/bin/python2.7
import getpass
import sys
import telnetlib
import... (2 Replies)
Discussion started by: SkySmart
2 Replies
2. UNIX for Beginners Questions & Answers
Hello,
I´m working with an m4000 server, with solaris 11. the problem is when users connect to the server, I have the range from pts/65 to pts/128 "blocked". The system does not take any pts of that range. Usually a close all the connections and the problem is solved, but this time that solution... (3 Replies)
Discussion started by: salvador_cast
3 Replies
3. UNIX for Dummies Questions & Answers
Hello,
i am using finch (unix commandline instant messaging client using libgnt) which is running connected to /dev/pts/1
Now I would like to "remote control" the program by sending the key combinations normally typed on the keyboard from a programm in another shell. So I tried:... (0 Replies)
Discussion started by: mentos
0 Replies
4. UNIX for Dummies Questions & Answers
My apologies in advance if this question has already been asked or if I use incorrect terminology; I have tried searching for nearly an hour without any luck.
Is there any way to change the active TTY for a session? I was monitoring a long (~5 hour) process through an SSH connection and the... (4 Replies)
Discussion started by: tspicher
4 Replies
5. AIX
Hi All
can anyone tell me what is the meaning of tty,or give me an example of this? (1 Reply)
Discussion started by: magasem
1 Replies
6. UNIX for Advanced & Expert Users
Hi all,
recently we had a critical error like one of the mount points /online
was 100% full.
Even when we deleted three ( 3 ) 0.5 GB files available space in /online mount was not increasing
rather
df -k for /online continued to show as 100% full.
what could be the problem, even... (6 Replies)
Discussion started by: matrixmadhan
6 Replies
7. UNIX for Dummies Questions & Answers
im ultra new at unix and was wondering if its possible to create aliases of the write command that send messeges to users using an ip address. i was thinking to use the '|awk' with the command finger but as i've said im a total newbie. thanks a lot in advance. (2 Replies)
Discussion started by: swag:þ
2 Replies
8. UNIX for Dummies Questions & Answers
i log in as root and is in pts/11 , do a who -uH, got the below
root pts/11 Dec 11 08:01 0:10 11588
root pts/12 Dec 11 09:09 0:03 12001
now do a ps -ef | grep pts/12, get the below
root 12133 12107 0 09:18:22 pts/13 0:00 vi myoracle
root 12107 12105 ... (3 Replies)
Discussion started by: yls177
3 Replies
9. UNIX for Dummies Questions & Answers
hi, i ran tty and get this /dev/pts/1?
what does /dev/pts/1 indicates about my terminal and the device files? thanks (4 Replies)
Discussion started by: yls177
4 Replies