All Questions

Tagged with
Filter by
Sorted by
Tagged with
1
vote
1answer
49 views

Is it possible to log into all 6 terminal sessions at once?

If I press Ctrl+Alt+F1 to switch to the 1st terminal session, I have to give my username and password to log in. If I press Ctrl+Alt+F2, I have to repeat this process. Same for F3, F4, F5, and F6. Is ...
0
votes
0answers
46 views

Viewing history of echo'd text on terminal

I detached gits head using git checkout 4037ec1702bd2fa6a5a15f7413f4ccccb59d356e . and lost all my work. I still have the terminal open. Not that long ago, I did a git diff, so my changes were all ...
0
votes
1answer
31 views

Does each process in a session get its input from and send its output to the terminal the session is connected to?

This tutorial says the following: Every session is tied to a terminal from which processes in the session get their input and to which they send their output. I think that this statement is ...
0
votes
1answer
48 views

How can I connect to remote session and get the server output on my local

So I have a remote server in cloud running my application, when I need to test / soak test I run ./gradlew- on my local. which runs a script > connect to vm - my application > and start the test on my ...
1
vote
1answer
270 views

How can I print output whilst detached from controlling terminal?

The obvious answer is that I cannot print output to the terminal if I have detached from it. The problem is that I actually can send characters to a terminal from which I detached and these ...
1
vote
1answer
90 views

Opening terminal tabs through SSH

I am connecting to a linux machine exclusively over SSH. Recently I noticed that no matter what process is running in terminal, every time I close and reconnect through SSH the process may or may not ...
0
votes
1answer
567 views

Enable history in gnome terminal in apricity os

I can't make gnome terminal or any other terminal remember the commands history. Every time I close the terminal and reopen it I can't access previous commands (usually done with the up arrow key).
2
votes
1answer
2k views

Is the number of tty the maximum number of simultaneous sessions?

When running who I can see two "sessions" (it is the correct wording ?) from two remote servers: pts/0 pts/1 I went to /dev/pts and I can see 0 1 Does that mean that I can have two simultaneous ...
8
votes
1answer
5k views

Reopen Terminal windows after restarting

In Mac, if I have a few Terminal windows open and I restart the computer or quit Terminal, the windows that were open last are opened again with their working directories and command histories ...
3
votes
1answer
174 views

SSH session chain

Suppose I do a SSH session chain within one single unique terminal window (RHEL6) open terminal on localMachine, SSH remote login to server1 from server1, SSH remote login to server2 from server2, ...
2
votes
1answer
2k views

how can we know which pts in /dev/pts mapping to which ip address?

Can anyone explain , how can we detect which ssh session belong to which ip address using /dev/pts directory ?
3
votes
0answers
393 views

Best way to view scripted session logs

I have aliases set up for SSH and minicom to call simple wrapper scripts which just ensure that I get a log of the session. The logs are stored in a specified directory, and named with a tag and a ...
17
votes
2answers
5k views

Concept of controlling terminal in Unix

Can some one please explain in an easy to understand way the concept of controlling terminal in unix and unix like systems ? Is it related to a session ? If yes, then how ?
11
votes
1answer
5k views

How to save a session in Yakuake

I use the Yakuake drop-down terminal and would love if it could save my session of tabs somehow. When I have 6-7 tabs open, all named and everything, it is a giant pita having to re-create that on ...