Tyler Chris - Fedora Linux стр 33.

Шрифт
Фон

Link a file (symbolically) by dragging it between windows while holding the Ctrl and Shift keys.

Delete a file by dragging it and dropping it on the Trash icon on the desktop, by pressing the Delete key, or by right-clicking and selecting "Move to Trash."

To rename a file, right-click, select Rename, and then edit the name below the file icon.

You can also use traditional cut, copy, and paste operations on the files:

To cut a file, press Ctrl-X, or right-click and select Cut. Note that the file will not disappear from the original location until it is pasted into a new location; this effectively performs a move operation.

To copy a file, press Ctrl-C, or right-click and select Copy.

To paste a file that has been cut or copied, click on the window of the directory you with to paste into, and then press Ctrl-V or right-click on the window background and select Paste.

You can also perform cut, copy, and paste operations from the Edit menu at the top of the Nautilus window.

4.3.1.15. Managing files graphically with KDE

Figure 4-3. Konqueror in file management mode

To start Konqueror, select Home from the K menu. Unlike Nautilus, Konqueror does not use spatial windows; as you move around the file hierarchy, the same window is reused. To create a second window for drag-and-drop, press Ctrl-N (or select the menu option LocationNew Window). Alternately, you can split a window horizontally or vertically using the Window menu, and then drag and drop between the two panes. To view more information about the files, select the menu option ViewView ModeDetailed List View, which shows information similar to that displayed by ls -l. There are other options on the View Mode menu that are useful in different situations, such as the Photobook view for directories of photographs.

You can change to child directories by double-clicking on them, or you can change to parent directories by using the up-arrow icon on the toolbar. You can also select a directory from the Navigation Panel, shown on the left in Figure 4-3 (the Navigation Panel can be toggled on and off using the F9 key).

To manage files, start by selecting one or more files:

To select a single file, click on it.

To select several files that are located close together, click on a point to the left or right of the files (which will start drawing a rectangle) and then drag the mouse pointer so that the rectangle touches all of the files you wish to select.

To select several files that are not adjacent, click on the first one, and then hold Ctrl and click on additional ones.

To select a range of files (rectangular region), click on the first file, and then hold Shift and click on the last file.

Once you have selected a file (or files):

Move, copy, or link the file by dragging it between windows (or window panes). When you drop the file on the destination, a pop-up menu will appear with Move Here, Copy Here, and Link Here options.

Delete a file by dragging and dropping it on the Trash icon on the desktop, by pressing the Delete key, or by right-clicking and selecting "Move to Trash."

To rename a file, right-click, select Rename, and then edit the name below the file icon.

As with Nautilus, you can also use traditional cut, copy, and paste operations on the files:

To cut a file, press Ctrl-X, or right-click and select Cut. Note that the file will not disappear from the original location until it is pasted into a new location; this effectively performs a move operation.

To copy a file, press Ctrl-C or right-click and select Copy.

To paste a file that has been cut or copied, click on the window of the directory you wish to paste into, and then press Ctrl-V, or right-click on the window background

You can put a number in front of any command to repeat the command. For example, typing 10j will move down 10 lines.

4.4.1.3. Inserting text

Table 4-8. Commands to enter insert mode

CommandDescription
iInsert before the cursor.
IInsert at the start of the line.
aAppend after the cursor.
AAppend at the end of the line.
oOpen a line after the current line and insert text.
OOpen a line before the current line and insert text.
All of these commands place the editor into insert mode; the only difference is where the cursor is positioned for the inserted text. The word -- INSERT -- will appear in the lower-left corner of the display.

To exit from insert mode and return to normal mode, press Esc. The -- INSERT -- indicator in the lower-left corner of the display will disappear.

4.4.1.4. Deleting, yanking, and putting: vi's version of cutting, copying, and pasting

vi Deleting yanking

Table 4-9. Basic delete and yank commands

CommandDescriptionExamples
xDelete one character to the right of the cursor.x deletes one character to the right of the cursor; 25x deletes the character at the cursor position and 24 characters to the right.
XDelete one character to the left of the cursor.X deletes one character to the left of the cursor; 19X deletes 19 characters to the left.
d, followed by a cursor movementDelete from the cursor position to the indicated position. dj deletes the current line and the line below; dw deletes one word.
ddDeletes a line.dd deletes the current line; 15dd deletes 15 lines.
y, followed by a cursor movementYank from the cursor position to the indicated position.yj yanks the current line and the line below; yw yanks one word.
yyYanks a line.yy yanks the current line; 15yy yanks 15 lines.
pPuts yanked or deleted text after the cursor. If the text contains any partial lines, it is inserted directly after the cursor; otherwise, it is inserted starting on the next line.p puts one copy of the yanked text into the document after the cursor; 20p puts 20 copies of the yanked text after the cursor.
PPuts yanked or deleted text before the cursor. If the text contains any partial lines, it is inserted directly before the cursor; otherwise, it is inserted on the previous line.P puts one copy of the yanked text into the document before the cursor; 20P puts 20 copies of the yanked text before the cursor.

Ваша оценка очень важна

0
Шрифт
Фон

Помогите Вашим друзьям узнать о библиотеке