Skip to content

Special Commands

Prabaha edited this page Mar 14, 2022 · 1 revision

SPECIAL COMMANDS

[that will make your life easier...] ;)

ED

This stands for "edit-source". It opens your current source code in a buffer of NANO.
The path is at /etc/pydirman.py

EDN

This stands for "edit-source-nano". It opens your current nano configuration in a buffer of NANO.
The path is at /etc/nanorc

U

This stands for "usb-open". It opens the path to folder where all your external devices, e.g. USB drives are located.
The path is at /media/your_name

T

This stands for "terminal-execute". It executes the command which you pass after this command.
>t ...args => $...args

OTHER COMMANDS:

Let's see the below example:

[9] file_9.ext_9---------------99 bytes
=======================================
...
=======================================

&9 will return "file_9.ext_9"
$file_9.ext_9 will return "9"

USING PYTHON COMMANDS:

You can now manipulate the output of a string using the EOC '^'

Lets say:

-> your file file_69.ext_69 is at index 69

you can extract only the file by using &69^.split(".")[0] which will return file_69

Clone this wiki locally