Linked Questions
130 questions linked to/from What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?
35
votes
3
answers
72k
views
Terminal vs bash? [duplicate]
I'm on a Mac but I think this is generally Unix-applicable.
I'm in the process of learning shell scripting and there's something I seem to be missing. When I'm in the ordinary terminal, I can use ...
43
votes
2
answers
123k
views
What is the concept behind "tty" in linux? [duplicate]
Where did the terminology "tty" come from in Linux?
23
votes
2
answers
25k
views
Terminal vs Terminal emulator [duplicate]
I am trying to clarify my understanding of terminal here.
Terminal is actually a device (keyboard+monitor). When in CLI mode, the input from your keyboard goes directly to shell and also displayed on ...
4
votes
1
answer
8k
views
What is tty within Linux? [duplicate]
My understanding of tty is is that its means "teletype writers" from the older days, where people had to get teletype writers in order to receive and input data into virtual terminals, my questions ...
3
votes
2
answers
11k
views
What exactly is terminal? What is shell? [duplicate]
I know about Linux terminal. I can also issue many advanced commands over terminal. But one simple concept is not clear to me.
What is terminal and how does it work?
I know about hardware which ...
2
votes
2
answers
6k
views
What is the difference between Virtual Terminal and Pseudo Terminal? [duplicate]
Is a Virtual Terminal the terminal that you get when you type Ctrl+Alt+F#, and which is represented by the file /dev/tty#.
While a Pseudo Terminal is a terminal that actually runs "inside" a tty, for ...
3
votes
2
answers
3k
views
Does TTY always get used when we open any terminal? [duplicate]
I have been trying to understand how the TTY device driver works on a Linux machine for a few days now and still can't wrap my head around the idea.
When we open a terminal to ssh to a server, I ...
2
votes
2
answers
2k
views
Computer terminal and virtual console [duplicate]
Possible Duplicate:
What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?
I was wondering what relations and differences are ...
3
votes
2
answers
2k
views
PseudoTerminal concept in Linux [duplicate]
Possible Duplicate:
What is the exact difference between a ‘terminal’, a ‘shell’, a ‘tty’ and a ‘console’?
This question follows directly from another question of mine in this great forum. What ...
2
votes
0
answers
4k
views
Trying to understand how TTYs and PTYs work in CentOS 6.5? [duplicate]
I started to dig into the whole Linux pty and tty hell. I'm trying to understand how it works here in Linux so I was reading quite a lot of articles that covered this topic.
So far I know:
TTYs ...
1
vote
1
answer
1k
views
How TTY differs from an ordinary file? [duplicate]
I'm trying to understand ssh's -t option:
-t Force pseudo-terminal allocation. This can be used to execute arbitrary screen-
based programs on a remote machine, which can be ...
3
votes
1
answer
2k
views
How is sudo interrupted in xterm on Ctrl-C? [duplicate]
Please explain in detail (including tty related stuff) how is a sudo foreground process on a X terminal emulator actually killed on the Ctrl-C.
See the following example please:
$ sudo -u test_no_pw ...
1
vote
1
answer
974
views
What really is bash? (or any linux shell) [duplicate]
I understand bash as a window where I can type commands to linux. Reading the wikipedia, I've learned that there were various shell applications throughout the history. First, I understood bash as ...
1
vote
2
answers
536
views
is the shell a frontend to the terminal? [duplicate]
Is the shell only an addon to the terminal, so that a terminal daemon has to work in order to to start a shell as its frontend. What controll does the terminal exherts upon the shell?
1
vote
1
answer
525
views
Does ssh give access to the virtual console, to a terminal emulator, or what? [duplicate]
As far as I've understood, a terminal emulator is a GUI-based program which gives me a terminal-like viewport and allows me to interact with it just like I'd do with a terminal, except that it has all ...