Çíàêîìñòâî ñ Linux

http://kofemolkin.ru/UCG80.html          

Óäàëåíèå òåêñòà


 êîìàíäíîì ðåæèìå êîìàíäà "x" óäàëÿåò ñèìâîë ïåðåä êóðñîðîì. Åñëè âû íàæìåòå x ïÿòü ðàç, âû çàêîí÷èòå â ñèòóàöèè:

 ____________________________________________________________________

|Now is the time for all good women to come to the aid of the party.|

|Afterwards, we'll go out for pizza and _                           |

|~                                                                  |

|~                                                                  |

|~                                                                  |

|~__________________________________________________________________|

Òåïåðü íàæìèòå a, âñòàâüòå íåêîòîðûé òåêñò, à çàòåì íàæìèòå esc:

 ____________________________________________________________________

|Now is the time for all good women to come to the aid of the party.|

|Afterwards, we'll go out for pizza and Diet Coke._                 |

|~                                                                  |



|~                                                                  |

|~                                                                  |

|~__________________________________________________________________|

Âû ìîæåòå óäàëÿòü öåëûå ñòðîêè, íàáèðàÿ êîìàíäó dd (ò.å. íàæèìàÿ d äâàæäû). Åñëè âàø êóðñîð íà âòîðîé ñòðîêå, è âû íàïå÷àòàëè dd,

 ____________________________________________________________________

|Now is the time for all good women to come to the aid of the party.|

|~                                                                  |

|~                                                                  |

|~                                                                  |

|~                                                                  |

|~__________________________________________________________________|

×òîáû óäàëèòü ñëîâî, íà êîòîðîì íàõîäèòñÿ êóðñîð, èñïîëüçóéòå êîìàíäó dw. Ïîìåñòèòå êóðñîð íà ñëîâî ``good'' è íàïå÷àòàéòå dw.

 ____________________________________________________________________

|Now is the time for all women to come to the aid of the party.     |

|~                                                                  |

|~                                                                  |

|~                                                                  |

|~                                                                  |

|~__________________________________________________________________|

3.12.5



Ñîäåðæàíèå ðàçäåëà