Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 213 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       stty [-F DEVICE] [--file=DEVICE] [SETTING]...
       stty [-F DEVICE] [--file=DEVICE] [-a|--all]
       stty [-F DEVICE] [--file=DEVICE] [-g|--save]


       Print or change terminal characteristics.

       -a, --all
              print all current settings in human-readable form

       -g, --save
              print all current settings in a stty-readable form

       -F, --file=DEVICE
              open and use the specified DEVICE instead of stdin

       --help display this help and exit

              output version information and exit

       Optional  - before SETTING indicates negation.  An * marks
       non-POSIX settings.  The underlying system  defines  which
       settings are available.

   Special characters:
       * dsusp CHAR
              CHAR  will  send  a terminal stop signal once input

       eof CHAR
              CHAR will send an end of file (terminate the input)

       eol CHAR
              CHAR will end the line

       * eol2 CHAR
              alternate CHAR for ending the line

       erase CHAR
              CHAR will erase the last character typed

       intr CHAR
              CHAR will send an interrupt signal

       kill CHAR
              CHAR will erase the current line

       * lnext CHAR
              CHAR will enter the next character quoted

       * swtch CHAR
              CHAR will switch to a different shell layer

       * werase CHAR
              CHAR will erase the last word typed

   Special settings:
       N      set the input and output speeds to N bauds

       * cols N
              tell the kernel that the terminal has N columns

       * columns N
              same as cols N

       ispeed N
              set the input speed to N

       * line N
              use line discipline N

       min N  with  -icanon,  set N characters minimum for a com­
              pleted read

       ospeed N
              set the output speed to N

       * rows N
              tell the kernel that the terminal has N rows

       * size print the number of rows and columns  according  to
              the kernel

       speed  print the terminal speed

       time N with  -icanon,  set  read  timeout of N tenths of a

   Control settings:
              disable modem control signals

              allow input to be received

       * [-]crtscts
              enable RTS/CTS handshaking

       csN    set character size to N bits, N in [5..8]


   Input settings:
              breaks cause an interrupt signal

              translate carriage return to newline

              ignore break characters

              ignore carriage return

              ignore characters with parity errors

       * [-]imaxbel
              beep and do not flush a  full  input  buffer  on  a

              translate newline to carriage return

              enable input parity checking

              clear high (8th) bit of input characters

       * [-]iuclc
              translate uppercase characters to lowercase

       * [-]ixany
              let  any  character  restart output, not only start

              enable sending of start/stop characters

              enable XON/XOFF flow control

              mark  parity   errors   (with   a   255-0-character

              same as [-]ixoff

   Output settings:
       * bsN  backspace delay style, N in [0..1]
       * [-]ofill
              use fill (padding) characters instead of timing for

       * [-]olcuc
              translate lowercase characters to uppercase

       * [-]onlcr
              translate newline to carriage return-newline

       * [-]onlret
              newline performs a carriage return

       * [-]onocr
              do not print carriage returns in the first column

              postprocess output

       * tabN horizontal tab delay style, N in [0..3]

       * tabs same as tab0

       * -tabs
              same as tab3

       * vtN  vertical tab delay style, N in [0..1]

   Local settings:
              echo erase characters as backspace-space-backspace

       * crtkill
              kill all line by obeying the echoprt and echoe set­

       * -crtkill
              kill all line by obeying the echoctl and echok set­

       * [-]ctlecho
              echo control characters in hat notation (`^c')

              echo input characters

       * [-]echoctl
              same as [-]ctlecho

              same as [-]crterase

              enable erase, kill, werase, and rprnt special char­

              enable non-POSIX special characters

              enable interrupt, quit, and suspend special charac­

              disable flushing after interrupt and  quit  special

       * [-]prterase
              same as [-]echoprt

       * [-]tostop
              stop  background jobs that try to write to the ter­

       * [-]xcase
              with icanon, escape with `\' for uppercase  charac­

   Combination settings:
       * [-]LCASE
              same as [-]lcase

       cbreak same as -icanon

              same as icanon

       cooked same  as brkint ignpar istrip icrnl ixon opost isig
              icanon, eof and eol  characters  to  their  default

              same as raw

       crt    same as echoe echoctl echoke

       dec    same  as  echoe echoctl echoke -ixany intr ^c erase
              0177 kill ^u

       * [-]decctlq
              same as [-]ixany

       ek     erase and kill characters to their default values

       evenp  same as parenb -parodd cs7

       oddp   same as parenb parodd cs7

       -oddp  same as -parenb cs8

              same as [-]evenp

       pass8  same as -parenb -istrip cs8

       -pass8 same as parenb istrip cs7

       raw    same as  -ignbrk  -brkint  -ignpar  -parmrk  -inpck
              -istrip -inlcr -igncr -icrnl  -ixon  -ixoff  -iuclc
              -ixany -imaxbel -opost -isig -icanon -xcase  min  1
              time 0

       -raw   same as cooked

       sane   same  as  cread  -ignbrk brkint -inlcr -igncr icrnl
              -ixoff -iuclc -ixany imaxbel  opost  -olcuc  -ocrnl
              onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
              vt0 ff0 isig icanon iexten echo echoe echok -echonl
              -noflsh -xcase -tostop -echoprt echoctl echoke, all
              special characters to their default values.

       Handle the tty line connected to standard input.   Without
       arguments,  prints  baud rate, line discipline, and devia­
       tions from stty sane.  In settings, CHAR is  taken  liter­
       ally, or coded as in ^c, 0x37, 0177 or 127; special values
       ^- or undef used to disable special characters.


       Written by David MacKenzie.


       Report bugs to <bug-coreutils@gnu.org>.


       Copyright © 2003 Free Software Foundation, Inc.
       This is free software; see the source for  copying  condi­
       tions.  There is NO warranty; not even for MERCHANTABILITY


       The full documentation for stty is maintained as a Texinfo
       manual.   If  the  info  and  stty  programs  are properly
       installed at your site, the command

              info stty

       should give you access to the complete manual.

There are several different ways to navigate the tutorial.



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.10 Seconds