April 2017
Beginner to intermediate
312 pages
7h 23m
English
From time to time, there might be a need to make minor changes to code files or change configuration files from the command line. It is impractical to use a graphical text editor every time. There are command-line text editors that can come handy with some practice.
One useful text editor that comes with the Raspbian OS is nano. nano is a very simple text editor, and it is very easy to use. For example, let's consider a scenario where we would like to add a secret key for an API in your code file. This could be accomplished by opening the file via the Command Prompt (SSH or the command-line terminal from the desktop):
nano visual_aid.py
It should open the contents of the file, as shown in the following screenshot: ...
Read now
Unlock full access