ArticlesandAuthors.com - THE Premier Site for Free Articles AND Article Authors Authors: Login or Sign-Up Free    

Article Authors/Writers: Got articles? Need links? articles-arrowheader Submit your articles for free as an author with ArticlesandAuthors.com (learn more...)
Website Owners/Publishers: Got websites? Need content? articles-arrowheader2 Get free articles from ArticlesandAuthors.com (learn more...)

Search ArticlesandAuthors.com:        Bookmark Us  |  Contact Us  |  Home

Linux Terminal Control Sequences




Linux Terminal Control Sequences

By: Bernard Peh

Site Build It!
Linux terminals share alot in common with their primitive ancestors such as vt100 like consoles. These early devices is capable of sending sequences that signaled events outside of the normal flow of typed characters, such as escape, tab, linefeed...etc. Linux uses CTRL key to send out these out of band signals.

This article summarises many of the commonly used control sequences that are used in all Linux terminals.

CTRL-C
This is the most commonly used sequence. In the bash shell, CTRL-C will terminate any currently running process and return you to the bash prompt. For example, if you accidentally run a command that does not stop, use CTRL-C to cancel the command.

CTRL-D
Many Unix commands read their input directly from the keyboard. An example is the WC command. WC counts the number of lines, words and characters that a user types in from the keyboard. So if you tpye WC at the command prompt, the command will wait for your input till you use CTRL-D to signal the end of transmission.

CTRL-Z
CTRL-Z means to suspend a program. For example, you are working with a command and you want to stop it temporary as it is taking too long. To do that, you can use CTRL-Z. You can later restore back the command using the fg command.

CTRL-U
If you have messed up a certain command and you want to start all over, instead of using backspace, you can use CTRL-U. CTRL-U resets the current line.

CTRL-H
Instead of using the backspace key, you can use CTRL-H to function the same way. Unless the backspace key is malfunctioned or mapped wrongly, this sequence serves very little purpose.

CTRL-L
If your screen is too cluttered with unwanted information, you can clear the screen using CTRL-L.

CTRL-S
Freeze your screen. This is a good command to use if you decide to go for a coffee break and do not want any process to run till you are back.

CTRL-Q
This sequence is exactly the opposite to CTRL-S. If you have freezed the screen before, you use this command to unfreeze it.

CTRL-J
Functions the same way as the RETURN key.

CTRL-G
Makes a terminal beep sound for fun and entertainment.

Control Sequences are important to all Linux / Unix users. Some sequences are important while some are useless today. It is worth memorising the first few sequences as described in this article.


Article Source: http://www.ArticlesandAuthors.com - THE Premier Site for Articles AND Authors


About this Article Author:

Sitecritic.net internet articles is formed by a group of web addicts, mainly volunteers from all over the world. Our goal is to create a community of web designers and developers who share the common interest in bringing out the best in creatiing effective web sites.
View their website at: www.sitecritic.net




Want to Use this Article on YOUR Website, Ezine and/or Forum?
First, read and follow our Terms of Use. Then, click on | Copy this Article| in the menu on THIS page.




Linux Terminal Control Sequences

Please Rate this Article:  

Not yet Rated

Article Source: http://www.ArticlesandAuthors.com - THE Premier Site for Articles AND Authors

ArticlesandAuthors.com is a site developed and dedicated to helping both authors of viable content and website owners looking to increase the amount of useful and genuine content on their site. Through usage of ArticlesandAuthors.com, a free article directory, both article writers and website owners will be able to bridge the gap between, respectably, getting readers of their written material and valid content to include in their website.


Click the XML Icon Above to Receive Computers Articles Via RSS!



Home | Article Submission Software | Our Newest Articles RSS Feed | What's an RSS feed? | Add us to Your MyYahoo! | Sign-Up/Join Free
About Us | Link to Us | Our Personal Articles | Authors - Why Use Us? | Author/Member Login | Article Submission Software Review
Submission Guidelines | Authors Terms of Use | Article Promotion | Link Development | Publishers - Why Use Us? | Top Authors
Most Popular Articles | Publishers Terms of Use | Content Development | Article RSS Feeds | Article Directory Software | Ezine Notifications
Contact Us | Privacy Policy


Copyright © | All Rights Reserved ArticlesandAuthors.com


Site design by Ultimate Results, Inc. | Andre Best - andrebest.com






Powered by Article Dashboard