Linux Commands Examples

A great documentation place for Linux commands


Restricted mode for Nano’s ANOther editor, an enhanced free Pico clone



add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


/bin/rnano -x -o /mnt/text /mnt/text/text.txt
#/bin/rvim /mnt/text/text.txt
echo Done writing!
echo Type the letter r and press enter to reboot your computer.


This manual page briefly documents the rnano command.

nano is a small, free and friendly editor which aims to replace Pico, the default editor included in the non-free Pine package. Rather than just copying Pico’s look and feel, nano also implements some missing (or disabled by default) features in Pico, such as "search and replace" and "go to line and column number".

rnano is a restricted version of nano, which only edits specific files and doesn’t allow the user access to the filesystem or a command shell.

In restricted mode, nano will not:

read or write to any file not specified on the command line;

read any nanorc files;

allow suspending;

allow a file to be appended to, prepended to, or saved under a different name;

use backup files or spell checking.



Places cursor at line number LINE and column number COLUMN (at least one of which must be specified) on startup, instead of the default of line 1, column 1.


Same as -h (--help).

-h (--help)

Show a summary of command line options and exit.

-V (--version)

Show the current version number and exit.

See the nano(1) manpage for the complete documentation of nano.



Please send any comments or bug reports to

The nano mailing list is available from nano-devel[:at:]gnu[:dot:]org.

To subscribe, email to nano-devel-request[:at:]gnu[:dot:]org with a subject of "subscribe".


Chris Allegretta <chrisa[:at:]asty[:dot:]org>, et al (see AUTHORS for details). This manual page was originally written by Thijs Kinkhorst <thijs[:at:]kinkhorst[:dot:]com>, for the Debian system (but may be used by others).

How can this site be more helpful to YOU ?

give  feedback