Terminal Numbers use

Asked by Anaximander Thales

I see in the title menu of each terminal the ability to print the terminal number.

I thought I saw something about using that, but at the time I was searching for things, it wasn't in my scope of interest, so I never bothered bookmarking it and now I'll be damned if I can find it again.

What is the use of the terminal numbers? Is it possible to invoke a command from one terminal and output to another terminal? Just trying to figure it out, and my google fu is borked on this one.

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Terminator Edit question
Assignee:
No assignee Edit question
Solved by:
Anaximander Thales
Solved:
Last query:
Last reply:
Revision history for this message
Stephen Boddy (stephen-j-boddy) said :
#1

I added this because at one point I was logging into many systems named xxxxxx01 - xxxxxx20 simultaneously. (We now have layouts which are more powerful anyway, so this is not such a common use for me now)

It's also useful to stagger commands - you can do something like: sleep [[ <termnum> * 20 ]]; <command>
So every twenty seconds the next window runs <command>. Think: staggered restarts of a horizontally scaled application.

There's no interaction/redirection between terminals like you describe.

Revision history for this message
Anaximander Thales (chris-cuberootent) said :
#2

Ahh -- okay.

Thank you.