26.10.2012 Views

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

eboot [options]<br />

Does the same as halt except the system performs an immediate reboot.<br />

clear<br />

This command cleans up the visible area <strong>of</strong> the console. It has no options.<br />

3.3.3 For More Information<br />

There are many more commands than listed in this chapter. For information about<br />

other commands or more detailed information, the O'Reilly publication Linux in a<br />

Nutshell is recommended.<br />

3.4 The vi Editor<br />

Text editors are still used for many system administration tasks as well as for programming.<br />

In the world <strong>of</strong> Unix, vi stands out as an editor that <strong>of</strong>fers comfortable editing<br />

functions and is more ergonomic than many editors with mouse support.<br />

3.4.1 Operating Modes<br />

NOTE: Display <strong>of</strong> Keys<br />

In the following, find several commands that you can enter in vi by just pressing<br />

keys. These appear in uppercase as on a keyboard. If you need to enter a key<br />

in uppercase, this is stated explicitly by showing a key combination including<br />

the Shift key.<br />

Basically, vi makes use <strong>of</strong> three operating modes: insert mode, command mode, and<br />

extended mode. The keys have different functions depending on the mode. On start-up,<br />

vi is normally set to the command mode. The first thing to learn is how to switch between<br />

the modes:<br />

Command Mode to Insert Mode<br />

There are many possibilities, including A for append, I for insert, or O for a<br />

new line under the current line.<br />

Working with the Shell 117

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!