What is stty used for?

Showing Answers 1 - 2 of 2 Answers

Bal Reddy

  • Aug 23rd, 2005
 

Sets options for your terminal. 
 
Print or change terminal characteristics. 
 
 

  Was this answer useful?  Yes

muru

  • Nov 22nd, 2006
 

stty is used to set your terminal options. Following are some of the typical examples1. stty echo -iuclc The above command will switch off character display on your screen and ignore any case differences (ignore upper case and lower case). This can be used in situation where password is read and should not get printed on screen2. stty -erase '^H' This will set the erase character for your terminal3. stty -intr '^c' This will set the execution interrupt as control+c key 4. stty -eof '^d' This will set the end of file character as control+d key

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions