Keyboard > Linux Terminal Control Sequences

Linux Terminal Control Sequences


 by: Sitecritic .Net

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.

About The 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.

admin@sitecritic.net



Keeping Your Laptop Like New ? ALWAYS

Keeping Your Laptop Like New ? ALWAYS

 by: Ismael D. Tabije

Laptops are expensive. Therefore you need to take real good care of it. And laptop maintenance is not a one time thing. It should be a regular exercise. To prevent your notebook's LCD from becoming smudged or dirty you should clean it regularly. We recommend spraying a diluted window cleaner onto a soft, non-abrasive cloth and then lightly wiping the screen with it. It might be simpler to just spray the detergent directly on the screen but it?s not recommended as the fluid can trickle down into the bezel at the screen's bottom which could in turn damage the computer's circuitry.

When it comes to getting rid of dust, dirt and food crumbs off the keyboard, a vacuum cleaner's brush attachment is ideal. There are handheld vacuum cleaners, specifically intended for PCs that can remove the dust and food from in between the gaps on the keyboard. But if you?re traveling, a vacuum cleaner would...

Keeping Your Laptop Like New ? ALWAYS
Keyboard > Keeping Your Laptop Like New ? ALWAYS

Is Your PC Crowding Your Desk?

Is Your PC Crowding Your Desk?

 by: Ismael Tabije

When your PC eats up almost the entire space in your computer table, it?s time to have a little re-organizing. Desktop computers, especially those bulky CPU?s and monitors could eat up quite a space which could be a room for other essentials such as folder stackers, telephone or fax machine. Nowadays, bulky personal computers can be really heavy to the eyes, especially since in today?s technology, the adage, ?bulk is out, thin is in? is the mainstream.

Let?s start with your computer table. Its size may vary depending on your design. It may be wide enough to accommodate two ?bulky? PC sets, or it could barely hold one, and you don?t have enough space left for the keyboard or the mouse.

First things first, remove all unnecessary files, folders, papers, trash, coffee mugs and saucers, ashtrays, etc. on your desk. Clear the area. Your computer table should be just that, a computer table and...

Is Your PC Crowding Your Desk?
Keyboard > Is Your PC Crowding Your Desk?

New Strategy On How To Slash Your Pay-Per-Click Advertising Cost By Half Immediately

New Strategy On How To Slash Your Pay-Per-Click Advertising Cost By Half Immediately


 by: Seth Chong

So what is Pay-Per-Click Advertising really all about? The following report includes some fascinating information about Pay-Per-Click Advertising--info you can use, not just the old stuff they used to tell you.



Here's a simple keyword building technique I use to find the maximum possible variations of a keyword phrase. I use it predominantly for bidding on keywords at Google Adwords, however it can also be very useful for building lists for use in search engine optimization.



For example let's use the phrase "horses for sale". Here's how the various permutations of this keyword phrase would look. I use the free Keyword Tumbler tool for doing this.



horses for sale


horses sale for


for horses sale


for sale horses


sale horses for


sale for horses



As you can see...

New Strategy On How To Slash Your Pay-Per-Click Advertising Cost By Half Immediately
Keyboard > New Strategy On How To Slash Your Pay-Per-Click Advertising Cost By Half Immediately

The Benefits Of Using Ergonomically Correct Mice And Keyboards

The Benefits Of Using Ergonomically Correct Mice And Keyboards


 by: Peter Velikanov

A large proportion of the American public goes to work every day in an office environment without considering the ergonomics of the equipment they use. There are large a proportion of people working at a desk without giving due consideration to proper ergonomics as they work with ergonomically incorrect keyboards and mice. Working at a computer on a regular basis can cause the same type of stress on your body as other physical labors and in an effort to prevent such injuries from occurring, companies need to consider the principles of ergonomics.

The type of injuries found on those working on a computer can be found in different places ? in areas like the hands, wrists, arms, back, etc. These repeated stress injuries get worse over time because many people don?t know what?s causing them, they don?t understand what ergonomics is and they don?t do anything about...

The Benefits Of Using Ergonomically Correct Mice And Keyboards
Keyboard > The Benefits Of Using Ergonomically Correct Mice And Keyboards

Mouse Hunt ? Not the Movie (Choosing the Perfect Mouse for Your Computer)

Mouse Hunt ? Not the Movie (Choosing the Perfect Mouse for Your Computer)

 by: Ismael D. Tabije

Mouse Hunt ? Not the Movie (Choosing the Perfect Mouse for Your Computer)

Computer Mouse ? it?s something you wouldn?t run away from. Instead, it is the one thing you would search for. In fact, every body is in search for a good one. And it has actually become a not-so-easy task to ?hunt? for a good mouse ? for your pc.

What do you look for, when you say ?good computer mouse?? Often, when you buy a whole pc set, a mouse is already included. But there are others who still search for a good one.

In choosing a mouse, you must consider its compatibility with the pc and of course, with you, the user. As the technology advances, there are many types of mice to choose from ranging from mechanical (the ball-inside-type) to optical (ones that use laser to detect movement). Check the connectivity, as there are different mice with different connectivity...

Mouse Hunt ? Not the Movie (Choosing the Perfect Mouse for Your Computer)
Keyboard > Mouse Hunt ? Not the Movie (Choosing the Perfect Mouse for Your Computer)

Pain Relief from Neck and Shoulder Pain My Top 5 Favorite Ways

Pain Relief from Neck and Shoulder Pain My Top 5 Favorite Ways


 by: Wendy Young

When you are experiencing neck and shoulder pain at your computer, there are simple actions you can take to help you feel better.

It is very important to understand how your body reacts with the design of your computer work area. Of equal concern is choosing products to help you rather than create additional pain. It can be just as simple as adjusting or rearranging your equipment and furniture.

Monitor Height Placement

If you bend your neck back to see the monitor, it is too high. If you bend your neck down, your monitor is too low.

Let your head rest naturally and it will tilt slightly forward. You have left the office too many times with sore muscles!

When looking straight ahead, your line of sight is the imaginary horizontal line from your eyes to the screen. Your eyes naturally gaze down 15 ? 20 degrees below your line of sight. Adjust...

Pain Relief from Neck and Shoulder Pain My Top 5 Favorite Ways
Keyboard > Pain Relief from Neck and Shoulder Pain My Top 5 Favorite Ways

Why You Need To Buy and Sell Gold Coins (Part 4)

Why You Need To Buy and Sell Gold Coins (Part 4)

 by: Steve Renner

Top Investment Performance

Throughout history, many coin collections have produced substantial long-term profits for their owners. This is particularly true for coin collectors of this century. Indeed, Harold Bareford reportedly purchased a collection of U.S. gold coins for $13,832 in the early 1950s which was resold at auction in 1978 for $1.2 million. A more substantial collector, Louis...

Linux Terminal Control Sequences Why You Need To Buy and Sell Gold Coins (Part 4) Linux Terminal Control Sequences Why You Need To Buy and Sell Gold Coins (Part 4)
Keyboard > Why You Need To Buy and Sell Gold Coins (Part 4)

Five Tips From An Italian On A Mediterranean Diet

Five Tips From An Italian On A Mediterranean Diet

 by: Constance Weygandt

Growing up Italian, I marveled at the women and men, in my family, who cooked. Not only were they wonderful chefs but had a natural talent for balancing food groups. There was an emphasis on fresh produce and meat, that I am partial to today. One of my grandmothers used to take me to the chicken store to pick out a chicken. Yes, the chicken was still clucking and running around. Today...

Linux Terminal Control Sequences fruit Linux Terminal Control Sequences fruit
Keyboard > Five Tips From An Italian On A Mediterranean Diet

Linux Terminal Control Sequences insurance Linux Terminal Control Sequences insurance

firstkeyboardcenter.com, all rights reserved where applicable
Keyboard
This page loaded in 0.40896 seconds.