See the Command overview for more cursor movement commands. Cursor movement: To move the cursor, use the arrow keys or use the following commands:.Each time the cursor reaches the end of a line, Nano's word wrap feature automatically moves it to the beginning of the next line. Nano inserts the text to the left of the cursor, moving any existing text along to the right. Inserting text: To insert text into your Nano editing screen at the cursor, just begin typing.The following are some of Nano's basic operations: Nano accepts commands from your keyboard, but not from your mouse. Nano displays a menu bar of commonly used commands at the bottom of the screen. If it doesn't exist yet, Nano creates it and places you in an editing buffer. If the file already exists, Nano opens it for you to edit. For example, to create a file and name it indiana.txt, enter: Nano indiana.txt Replace filename with the name of the file you want to create or edit. To create a new file or edit an existing one, at your Unix shell prompt, type: Nano filename Following is a brief overview of working with files in Nano. You can also use the arrow keys to move about the document. To add text, just type it in, and it immediately becomes part of the document. Although less powerful than programs such as vi and Emacs, Nano's basic feature set makes it easier for beginners to learn and use. Based on the Pico message composition editor, Nano is a simple, display-oriented text editor for Unix.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |