terminal: first huge computers (mainframes 1960's) had no screens, they had regular typewriters attached to them, special symbols were sent from the typewriter (without typing them on the paper for the user to see) to the mainframe, it produced the result and sent it back to the paper, for example /n is a new line, there are many bytecodes like that. so terminal is a typewriter for the old mainframe system. terminal emulator: after computers became smaller and regular tv screens were attached to them (1970's), it was no longer necessary to print the output on paper, but the internal workings of the bytecodes did not change, so terminal emulator (a program) had to be made to sent these codes to the kernel. shell: the program which sits between the terminal and the kernel, it checks that the sent instruction is legitimate and authorized for the user to do. console: when the terminal was physically attached to the mainframe it was usually called a console, to distinguesh from the terminal which could be on the other floor or the next building. today all components are attached to the system you are working on, so you can call it however you like. but for remote connection like ssh (which emulates old mainframe type of working) it is usually called remote session because calling it just a terminal would no longer convey the same meaning like in 1960's.
For Linux/Unix like systems TTY is the best enough console emulated system ## Switching from GUI - Hit Ctrl + Alt + Fn to switch between them Fn = F1,F2 ... F7 - Hit Ctrl + Alt + F1 to switch to graphical interface - If graphical interface doesn't load then simply reboot ## Using CLI - To verify which emulator u r using $ tty # Output for active terminal - For active terminal like tty(s), terminal window(s) OR tab(s) the following out put u will get /dev/pts/n n = 1,2,3 ... # Number of active terminal emulators tty(s), terminal window(s) OR tab(s) $ sudo fgconsole # Switch to ttyx $ sudo chvt /dev/ttyx x = 1,2,3 ... --- By default the first active terminal would be /dev/pts/1 --- You may change it through tty if u forgot shortcut using $ sudo chvt 1
this was SO SO SO useful. extremely easy to understand for someone who had zero knowledge about what a terminal/shell was prior to watching this video, and who had struggled finding a simple, clear answer anywhere else. thank you so much!! you're a great teacher.
Man you really deserve a like ...........you really cleared my confusion and we need people like you ,,,,not like the one throwing out jargon all over.
That means terminal is just the any device of the pc and the shell is the software of the os (that acts like a compiler) and console is like all in one used in ages now and then also...
one of the best videos where terminal and shell are explained in a crystal clear way. excellent efforts.
Thank you.
terminal:
first huge computers (mainframes 1960's) had no screens, they had regular typewriters attached to them, special symbols were sent from the typewriter (without typing them on the paper for the user to see) to the mainframe, it produced the result and sent it back to the paper, for example /n is a new line, there are many bytecodes like that. so terminal is a typewriter for the old mainframe system.
terminal emulator:
after computers became smaller and regular tv screens were attached to them (1970's), it was no longer necessary to print the output on paper, but the internal workings of the bytecodes did not change, so terminal emulator (a program) had to be made to sent these codes to the kernel.
shell:
the program which sits between the terminal and the kernel, it checks that the sent instruction is legitimate and authorized for the user to do.
console:
when the terminal was physically attached to the mainframe it was usually called a console, to distinguesh from the terminal which could be on the other floor or the next building.
today all components are attached to the system you are working on, so you can call it however you like.
but for remote connection like ssh (which emulates old mainframe type of working) it is usually called remote session because calling it just a terminal would no longer convey the same meaning like in 1960's.
Thanks :)
This is so clear and straight to the point! Thank you so very much this was so useful!!!
Very well explained
Man, you really deserve a 'like'!
thanks for the Visual difference.
very good, I watched 10 videos but this video is good. keep it up
Thank you a lot. It is very useful and informative.
your video was helpful. thanks
Absolutely
For Linux/Unix like systems TTY is the best enough console emulated system
## Switching from GUI
- Hit Ctrl + Alt + Fn to switch between them
Fn = F1,F2 ... F7
- Hit Ctrl + Alt + F1 to switch to graphical interface
- If graphical interface doesn't load then simply reboot
## Using CLI
- To verify which emulator u r using
$ tty
# Output for active terminal
- For active terminal like tty(s), terminal window(s) OR tab(s) the following out put u will get
/dev/pts/n
n = 1,2,3 ...
# Number of active terminal emulators tty(s), terminal window(s) OR tab(s)
$ sudo fgconsole
# Switch to ttyx
$ sudo chvt /dev/ttyx
x = 1,2,3 ...
--- By default the first active terminal would be /dev/pts/1 ---
You may change it through tty if u forgot shortcut using
$ sudo chvt 1
Thanks!
thank you :)
Profs in Intro Course be like: you guys clearly already know the difference right? alright, moving on.
sorry , I do not understood 😅
Nice explanation
Is windows uses same shell in its terminal , sh/bash/tsh?
not sure about default one , but you can install linux environment and use shell.
Best ❤
Thanks a lot for this
thank you brother, you explained it well!
You're welcome!
And what is the command line ?
text interface on which we write commands
You know its gonna work when you hear the Indian accent
ok
thnx
Keyboard is a input device not a console
this was SO SO SO useful. extremely easy to understand for someone who had zero knowledge about what a terminal/shell was prior to watching this video, and who had struggled finding a simple, clear answer anywhere else. thank you so much!! you're a great teacher.
Man you really deserve a like ...........you really cleared my confusion and we need people like you ,,,,not like the one throwing out jargon all over.
Thank You :)
By far the best explanation ive watched in more than 2 hours of serching to find out the differnces, thank you very much
Thank you so much for the great explanation, it really helped me.
Thank you sir! You cleared up my doubts
thank you so much for your video. It was really helpful and easy to understand
Brilliant!
Explained well
Thanks!
Good
OK man
Very well articulated, thanks
thank you! finally an informative video
glad you liked it.
Very well explained, thank you.
Grt session
Your VIdeos are really nice . By the way what do you do ? are you a student?
professional wise...not a student, had a job .
learning wise...always want to stay student and learn more :)
That means terminal is just the any device of the pc and the shell is the software of the os (that acts like a compiler) and console is like all in one used in ages now and then also...
thanks for video, commenting for increasing the video's reach
Clearer than crystal clear
This video is nice, okay. Good job, okay.
Nice bro 👍god bless you👍
Best explanation thanks bro🔥🔥
Great explination my friend!
Well explained. Great work!
tnx for your video it was very helpful
Thanks man you just solved a big problem for me!
Amazing explanation. 👍👏
Cleared !!! Thank you so much.
Excellent thanks 👌👌👌
hello man, any deep dive on linux and tcp socket, ssh remote connection? thank for the outsanding work.
not so far...in future for sure
Can someone help me with redhat
Good explanation.
Thanks
you confuse more.
where you got confused..?