-
Notifications
You must be signed in to change notification settings - Fork 3
Special Commands
[that will make your life easier...] ;)
This stands for "edit-source". It opens your current source code in a buffer of NANO.
The path is at /etc/pydirman.py
This stands for "edit-source-nano". It opens your current nano configuration in a buffer of NANO.
The path is at /etc/nanorc
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
This stands for "terminal-execute". It executes the command which you pass after this command.
>t ...args => $...args
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"
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