tty changes?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users tty changes?
# 1  
Old 11-09-2010
tty changes?

I am not sure if I am using the correct terminology but somehow my tty keeps changing on me. The man pages are confusing to me on what exactly the tty is. This is what I see when I run the tty command. Could anyone explain why my tty keeps changing?

Code:
~ $ tty
/dev/pts/1

Code:
~ $ tty
/dev/pts/0

# 2  
Old 11-09-2010
I'm not sure what you are asking.

pty is pseudo terminal. They come in pairs - a master and a slave. I assume you are seeing one or the other of the pair.

Is that what you want to know?
# 3  
Old 11-10-2010
My tty keeps on changing. I wanna know why that is happening and how to fix that.
# 4  
Old 11-10-2010
What command are you using when you say "My tty keeps on changing" ?

You should have one tty per windows you open.

Do you mean when you type the tty command into the same windows several time it is continuously giving a changing result?
# 5  
Old 11-11-2010
Quote:
Originally Posted by ctsgnb
What command are you using when you say "My tty keeps on changing" ?

You should have one tty per windows you open.

Do you mean when you type the tty command into the same windows several time it is continuously giving a changing result?
When I type tty into my terminal it is giving me different information. Each different terminal window is giving different information. This is what I see in my first 2 terminal window's.

Code:
~ $ tty
/dev/pts/1

~ $ tty
/dev/pts/0

# 6  
Old 11-11-2010
This is normal cokedude, see man pts.
# 7  
Old 11-11-2010
MySQL

Quote:
Originally Posted by Scrutinizer
This is normal cokedude, see man pts.
Yep ! It is totally normal to have a different tty for each opened windows
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Python: Redirecting to tty and reading from tty

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. Linux

Killing the tty

It's happened multiple times and I can't figure out why it's happening or how to undo it, but hitting CTRL-S seems to disable the given TTY on 'nixes of various flavors. Killing the pid doesn't bring the tty back, I end up having to use other tty's until I reboot. Anyone got some information for... (2 Replies)
Discussion started by: thmnetwork
2 Replies

3. UNIX for Dummies Questions & Answers

TTY Insane

Hi All, Long time reader, first time poster. I have a tip session to a v480 serial console running Solaris 9. Look at this mess I'm getting back... connected... (16 Replies)
Discussion started by: danny.hudson
16 Replies

4. UNIX for Dummies Questions & Answers

What does this TTY info mean?

When I do a who command I get the following: mohit :0 2009-04-07 14:07 mohit pts/0 2009-04-07 17:25 (:0.0) mohit pts/1 2009-04-09 12:07 (:0.0) mohit pts/2 2009-04-16 11:38 (:0.0) mohit pts/3 2009-04-16 16:09 (:0.0) mohit pts/4 ... (1 Reply)
Discussion started by: mojoman
1 Replies

5. UNIX for Dummies Questions & Answers

pts and tty

hi iam very new to linux can anyone tell me about pts and tty acctually today morning i logged into my pc at 9:51 when i have given #who it has given sam tty7 9:51 sam pts/1 10:11 so what does it mean (1 Reply)
Discussion started by: praneel2k
1 Replies

6. AIX

Tty Over Run

dears i have two IBM p630 application servers, they are running hacmp 5.2 as the clustering software. from the output of errpt on one of the nodes i am receiving the following error: 9D30B78E 0530020007 T S tty1 RECEIVER OVER-RUN ON INPUT please are there any ideas about how... (0 Replies)
Discussion started by: TheEngineer
0 Replies

7. AIX

tty

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

8. UNIX for Dummies Questions & Answers

tty remote IP

I am fairly new to Unix Terminal outputs and I have a server that is sending print jobs to a PortServer 8 RJ45 situated in a remote location. It is working fine however we need to change the Subnet of that location and I am unable to find where the IP associated with the terminal is located. ... (4 Replies)
Discussion started by: martin_Montreal
4 Replies

9. UNIX for Dummies Questions & Answers

Help on processes not associated with a TTY

Hi all ^_^ Okay, here's the problem: There's an IBM RS6000 server running AIX 4.3 with Informix database in my workplace. During peak hours, it has about 350 users doing mostly database operations. It has been set up that those users can only log-in the system at one terminal at a time. Due... (3 Replies)
Discussion started by: bluefactory
3 Replies
Login or Register to Ask a Question