Linked Questions

25
votes
3answers
53k 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 ...
21
votes
2answers
70k views

What is the concept behind “tty” in linux? [duplicate]

Where did the terminology "tty" come from in Linux?
4
votes
2answers
8k 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 ...
2
votes
2answers
5k 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
2answers
1k 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 ...
2
votes
0answers
3k 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 ...
3
votes
2answers
700 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 ...
0
votes
2answers
2k 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
2answers
659 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 ...
3
votes
1answer
692 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 ...
0
votes
1answer
618 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
2answers
347 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?
-3
votes
1answer
226 views

Shell and tty driver. Equivalent? [duplicate]

If I'm not wrong, tty is composed of: Line discipline TTY driver In addition, a shell (bash, for example) is a program that execute different commands/programs like ls, mkdir, rm, ... After reading ...
0
votes
1answer
142 views

Is TTY only a metaphor in modern day Linux systems? [duplicate]

Is the term TTY only a metaphor in modern day Linux systems referring to any CLI environment (direct as in GUI-less distros, and/or indirect as a CLI window in GUI-based distros).
0
votes
1answer
106 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 ...

15 30 50 per page