Develop on esieabot using a terminal
This section is dedicated to learning how to develop on esieabot using directly a terminal.
Prerequisites
To develop on esieabot using a terminal, you need to open a remote terminal on your esieabot. To do this, follow the dedicated documentation.
Note
You should choose a SSH connection and not a wired serial connection as it is more practical.
Manage your files
When you open your remote terminal, you are in the home directory of the user “pi”. You can list the files and directories in the current directory with the command ls. You can navigate to a directory with the command cd followed by the name of the directory. If you want to access your esieabot’s system files with the command cd /esieabot, you will need to type sudo before every command to have the necessary permissions.
Open a file
To open a file, you can use the nano text editor. To open a file, use the command nano followed by the name of the file. Here are some useful shortcuts in the nano editor:
Ctrl + O: Save the file, then press Enter to confirm the file nameCtrl + X: Close the fileCtrl + W: Search for a word in the fileCtrl + C: Display the current position in the fileCtrl + K: Cut a lineCtrl + U: Paste a line