D
D
Daniel Reed2015-10-11 20:42:54
linux
Daniel Reed, 2015-10-11 20:42:54

Is it possible to read messages from an open terminal?

Good evening. Interested in ways to read terminal messages, for example, from another terminal. In what ways and is it possible at all to read something from a previously opened and minimized / hidden terminal, on which something is currently happening?
Perhaps with the help of some PL and libraries.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
chupasaurus, 2015-10-12
@chupasaurus

Wrap in screen and cling wherever you want (option -x).

N
nonlux, 2015-10-11
@nonlux

1. bash(zsh) has a history
.bash_history (.zsh_history) files from the user's home folder
We read it and get everything that happens in all terminals under the rights of this user.
But you can use both read and edit.
2. Not a terminal - but a terminal emulator - that is, a program (a layer between the keyboard and the OS), if it allows logs, recording, then you can see what is happening through it.
For example, there is tmux console session manager. It runs as a server and you can connect to it with several clients and then we will get a full online broadcast)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question