LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 05-18-2005, 07:16 PM   #1
NNP
Member
 
Registered: Nov 2004
Distribution: Debian/Ubuntu
Posts: 156

Rep: Reputation: 30
What are tty's


I've been reading a guide on hardening linux and quite often its referred to tty's. I googled but the response i got wasnt great and im wondering if someone could give me an explanation.

Is it a hardware or software thing?

Thanks,
NNP
 
Old 05-18-2005, 07:50 PM   #2
username17
Member
 
Registered: Aug 2004
Location: Norfolk VA
Distribution: Slackware 11
Posts: 230

Rep: Reputation: 30
man tty

ttys are the general terminal interface.
If you're at the command prompt, Ctrl+Alt F1-F6 are different ttys.
tty01, 02, etc..
When sshing in, your terminal is assigned a tty address.

That's my RTFM answer, hope it helps.
-Jason
 
Old 05-18-2005, 08:07 PM   #3
NNP
Member
 
Registered: Nov 2004
Distribution: Debian/Ubuntu
Posts: 156

Original Poster
Rep: Reputation: 30
Hmm I was under the impression it had something to do with modems. Apparently not.
 
Old 05-18-2005, 08:26 PM   #4
username17
Member
 
Registered: Aug 2004
Location: Norfolk VA
Distribution: Slackware 11
Posts: 230

Rep: Reputation: 30
http://www.google.com/search?q=define:TTY

Plenty of resources there, I believe they're related to modems too.
-Jason
 
Old 05-19-2005, 03:46 AM   #5
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,791

Rep: Reputation: 157Reputation: 157
TTYs refer to the input devices including the virtual consoles and the serial ports (RS-232 and USB).

If refered to as tty1-6 they generally refer to a command line interface accessable to the system. If it refers to tty7, it is generally the terminal that the X-server (graphical interface) is running on. If it refers to /dev/ttys01, then it is refering to a serial device at 01, generally a standard serial port. Modems are addressed at the serial port they occupy. If it refers to someting like /dev/ttyUSB01, then it is refering to a USB device.

Remember, everything on a Linux or Unix system is addressed as a file in the system architecture.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xwindows wierds tty's wolfe2554 Debian 1 03-05-2005 03:37 AM
tty's problem!! help me! Gontzzo Slackware 7 12-13-2003 07:43 PM
what are tty's e1000 Slackware 4 12-13-2003 06:31 PM
Monitoring tty's in X ryanstrayer Linux - General 0 01-28-2002 07:51 PM
tty's jrd Linux - Newbie 0 12-31-2001 02:59 AM


All times are GMT -5. The time now is 03:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration