Linux #13 ? Keyboard Shortcuts

By Pete | @kingpetey | 20 Nov 2002

Many of these shortcuts are similar to Windows however some are slightly different or add extra features to help speed up your day-to-day tasks.

1. [Ctrl] + [Alt] + [Backspace] = kill X. Kills your current X session and returns you to the login screen. Use this if the normal exit procedure does not work.

2. [Ctrl] + [Alt] + [Delete] = shutdown and reboot. Shuts down your current session and reboots the OS. Use only when the normal shutdown procedure does not work.

3. [Ctrl] + [Alt] + [Fn] = switches screens. [Ctrl]+[Alt] + one of the function keys displays a new screen. [F1] through [F6] are text (console) screens and [F7] is a graphical screen.

4. [Alt] + [Tab] = switch tasks. If you have more than one application open at a time, you can use [Alt] + [Tab] to switch among open tasks and applications.

5. [Ctrl] + [a] = move cursor to the beginning of a line. This works in most text editors and in the URL field in Mozilla.

6. [Ctrl] + [d] = logout of a terminal or console instead of having to type exit or logout.

7. [Ctrl] + [e] = move cursor to end of a line. This works in most text editors and in the URL field in Mozilla.

8. [Ctrl] + [l] = clear the terminal. This shortcut does the same thing as typing clear at a command line.

9. [Ctrl] + [u] = clear the current line. If you are working in a terminal, use this shortcut to clear the current line from the cursor all the way to the end of the line.

10. [Middle Mouse Button] = pastes highlighted text. Use the left mouse button to highlight the text. Point the cursor to the spot where you want it pasted. Click the middle mouse button to paste it.

11. [Tab] = command autocomplete. Use this command when working in a terminal. Type the first few characters of a command and then press the [Tab] key. It will automatically complete the command or show all the commands that match the characters you typed.

12. [Up] and [Down] Arrow = show command history. When working in a terminal, press the [up] or [down] arrow to scroll through a history of commands you have typed from the current directory. When you see the command you want to use, press [Enter].