Читать книгу Linux Bible - Christopher Negus - Страница 85

Using a Terminal window

Оглавление

With the desktop GUI running, you can open a Terminal emulator program (sometimes referred to as a Terminal window) to start a shell. Most Linux distributions make it easy for you to get to a shell from the GUI. Here are two common ways to launch a Terminal window from a Linux desktop:

 Right-click the desktop. In the context menu that appears, if you see Open in Terminal, Shells, New Terminal, Terminal Window, Xterm, or some similar item, select it to start a Terminal window. (Some distributions have disabled this feature.)

 Click the panel menu. Many Linux desktops include a panel at the top or bottom of the screen from which you can launch applications. For example, in some systems that use the GNOME 2 desktop, you can select Applications ➪ System Tools ➪ Terminal to open a Terminal window. In GNOME 3, click the Activities menu, type Terminal, and press Enter.

In all cases, you should be able to type a command as you would from a shell with no GUI. Different Terminal emulators are available with Linux. In Fedora, Red Hat Enterprise Linux (RHEL), and other Linux distributions that use the GNOME desktop, the default Terminal emulator window is the GNOME Terminal (started by the gnome-terminal command).

GNOME Terminal supports many features beyond the basic shell. For example, you can cut and paste text to or from a GNOME Terminal window, change fonts, set a title, choose colors or images to use as background, and set how much text to save when text scrolls off the screen.

To try some GNOME Terminal features, start up a Fedora or RHEL system and log in to the desktop. Then follow this procedure:

1 Select Applications ➪ Utilities ➪ Terminal (or click on the Activities menu and type Terminal). A Terminal window should open on your desktop.

2 Select Edit ➪ Profile Preferences or Preferences.

3 On the General tab or current profile (depending on your version of GNOME), check the “Custom font” box.

4 Select the Font field, try a different font and size, and then click Select. The new font appears in the Terminal window.

5 Unselect the “Custom font” box. This takes you back to the original font.

6 On the Colors tab, clear the “Use colors from system theme” check box. From here, you can try some different font and background colors.

7 Re-select the “Use colors from system theme” box to go back to the default colors.

8 Go to your Profile window. There are other features with which you may want to experiment, such as setting how much scrolled data is kept.

9 Close the Profile window when you are finished. You are now ready to use your Terminal window.

If you are using Linux from a graphical desktop, you will probably most often access the shell from a Terminal window.

Linux Bible

Подняться наверх