>Usage
Nano stands out as a simple and powerful tool for editing files directly from the terminal. It is a command-line text editor.
It’s designed to be user-friendly. Nano provides essential editing features, making it ideal for quick edits, creating configuration files, or writing scripts directly in the terminal.
>Synopsis
nano [option] file
>Short cuts
This is a series of shortcuts that you can use while the nano is open:
- Ctrl + O: Save the file.Nano prompts you to enter the filename if you haven’t specified one.
- Ctrl + X: Exit nano. If there are unsaved changes, Nano will ask if you want to save before exiting.
- Ctrl + K: Move to the line which you want to cut then press this command.
- Ctrl + U: Go to the position where you want to paste and then press this command.
- Ctrl + W: This command is used for searching a word in a file. By using this command the editor will ask for a word to search for. Enter the word It will search for the word and will place the cursor in the first letter of the first occurrence of the word.
- Navigation: Use the arrow keys to move the cursor up, down, left, or right.
- Editing: Type directly to insert text. Use BACKSPACE to delete characters, and DELETE to delete the character under the cursor.
>Options
>Quiz
Progress:
Question ? out of ?