1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 06:44:56 +02:00
tldr/pages/common/nano.md
2020-01-29 16:16:44 +01:00

20 lines
433 B
Markdown

# nano
> Simple, easy to use command-line text editor. An enhanced, free Pico clone.
> More information: <https://nano-editor.org>.
- Open a specific file:
`nano {{path/to/file}}`
- Open a file positioning the cursor at the specified line and column:
`nano +{{line}},{{column}} {{path/to/file}}`
- Enable smooth scrolling:
`nano -S {{filename}}`
- Indent new lines to the previous lines' indentation:
`nano -i {{filename}}`