how to edit STK01-blink.py file using terminal?
-
hi there.
This is a really basic questions. How do I edit the STK01-blink.py file using terminal?
Just got my Omega2 Starter Kit.
I have no previous coding or hardware experience.
I am following the Starter Kit guide https://docs.onion.io/omega2-starter-kit/starter-kit-blinking-led.html#writing-the-codeI can connect to my omega and create a the STK01-blink.py file (using touch), but i do not know how to add the code to the file.
If the file was on my mac, i could edit it in my text editor, but I don't know how to access the file on the omega.Cheers
-
@Johannes--Klupfel
nano
is an easy-to-use Command-Line text editor.
opkg update
opkg install nano
BTW
vi
is the default editor on Omega.
vi -H
@Johannes--Klupfel said in how to edit STK01-blink.py file using terminal?:
If the file was on my mac, i could edit it in my text editor, but I don't know how to access the file on the omega.
Transferring Files to the Omega Using Linux or Mac OS X
Cheers.