Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
These answer are quite confusing. Is tty some software or hardware component ?????
"tty"s are device files that were originally used when accessing actual hardware terminals but are now more commonly used for accessing virtual terminals, the ones you get by Alt+Tab+F<n> where n is typically 1-6. In case a historical perspective helps, the name is short for teletype which is the sort of device people used for accessing computers before the price and size of memory chips made cathode ray tube screens affordable (they needed a massive 1kB capacity!)
"pty"s are pseudo "tty"s that are not associated with actual hardware, as used by "terminal emulator" software such as X's xterm and Windows' HyperTerm.
tty7 is virtual terminal 7, where the system displays the graphical logon prompt and, after logon, the desktop. If you are displaying one of the other virtual terminals (via Ctrl+Alt+F<n> where n is 1 to 6) then you can get back to virtual terminal 7. Typically the system starts one of the graphical display managers (gdm, kdm or xdm) on tty7 during boot and switches the display to it. Many people never leave it so do not see the other virtual terminals until shutdown when tty0 (the console) is displayed again.
Now I want to know that why there are so many tty (tty1, tty2, tty3.......so on). Do they have some restricted access levels etc....
No, they are all simply terminals at which you can log on in the normal way.
Your question is valid and you are in good company; the designers of Slackware didn't think there was any point in having so many when running a graphical screen so by default it comes with only two in graphical mode -- tty6 and tty7.
Thanks for your valuable help. I got the meaning of this tty. Now I want to know that why there are so many tty (tty1, tty2, tty3.......so on). Do they have some restricted access levels etc....
There are so many tty's because when Linux was first made, X11 wasn't free or good enough to include it in Linux, which means that initially it was command line only and to multi-task you needed as much fullscreen terminals (tty's) as possible. Off-course you don't need them as much now that you can have as many pts's (xterm's) as you want within the graphical environment of X11.