Skip to content

Python & Linux

type into “Command Prompt” py to pull up the python version on your computer
Screenshot 2025-11-05 191036.png
Coding Basic examples
HelloWorld.py
1.8 KB
Screenshot 2025-11-05 190944.png
Screenshot 2025-11-05 182447.png

Instructions for Installing BeagleBone Software

Start Here:

README.md
428 B

Specific Board:

BeagleBone Black

Reading Software

Software Image: (Latest)



Make sure it’s downloaded to your computer and then flash it to MicroSD on balenaEtcher

image.png

Putty

BBB via SSH Password: ozone67
debian@BeagleBone:~$ cat/etc/dogtag -bash: cat/etc/dogtag: No such file or directory
BeagleBoard.org Debian Trixie Base Image 2025-10-29 python -m venv .CES-env

Screenshot 2025-11-20 123703.png

Screenshot 2025-11-20 131710.png

Screenshot 2025-11-25 175428.png
Screenshot 2025-11-25 175728.png
UTF-8


Screenshot 2025-11-25 180701.png
Screenshot 2025-11-25 180859.png
Screenshot 2025-11-25 181332.png
Screenshot 2025-11-25 181553.png
Screenshot 2025-11-25 183107.png
Screenshot 2025-11-25 190400.png
Screenshot 2025-11-25 191636.png

Screenshot 2025-11-25 205708.png
Screenshot 2025-11-25 205721.png

12/02/25

Screenshot 2025-12-02 090321.png

12/03/2025
Screenshot 2025-12-03 173235.png
Screenshot 2025-12-03 173549.png
Screenshot 2025-12-03 173735.png
ls -a = list everything
:wq = write quit out of vi file
:q = quit (with prompt of changes)
:q! = quit without saving
Screenshot 2025-12-04 092723.png
Screenshot 2025-12-04 112738.png
Screenshot 2025-12-04 112840.png
Screenshot 2025-12-04 113105.png
Screenshot 2025-12-04 113332.png
Screenshot 2025-12-04 113423.png
Screenshot 2025-12-04 113708.png
Screenshot 2025-12-04 114019.png
Screenshot 2025-12-04 114053.png
Screenshot 2025-12-04 114125.png
Screenshot 2025-12-04 114234.png
Screenshot 2025-12-04 114350.png
Screenshot 2025-12-04 114431.png
Screenshot 2025-12-04 114529.png
Screenshot 2025-12-04 114545.png
Screenshot 2025-12-04 114600.png
Screenshot 2025-12-04 114902.png
Screenshot 2025-12-04 114956.png
Screenshot 2025-12-04 115030.png
Screenshot 2025-12-04 115132.png
Screenshot 2025-12-04 115142.png
Screenshot 2025-12-04 115259.png
Screenshot 2025-12-04 115321.png
Screenshot 2025-12-04 115423.png
Screenshot 2025-12-04 120748.png
Screenshot 2025-12-04 120907.png
Screenshot 2025-12-04 120826.png
Screenshot 2025-12-04 121157.png
Screenshot 2025-12-04 121407.png
Screenshot 2025-12-04 121456.png
Here’s a clear, step-by-step guide to adding lines of code to a .txt file in the /boot folder using vi (or vim) on Linux, such as when editing config.txt or cmdline.txt on a Raspberry Pi.

Steps

Open the file with root permissions Files in /boot usually require sudo:
sudo vi /boot/config.txt

(Replace config.txt with your actual file name.)
Navigate to where you want to insert the new line
Use the arrow keys or j (down) / k (up) to move the cursor.
Enter insert mode
Press o → opens a new line below the current line and enters insert mode.
Press O (capital o) → opens a new line above the current line and enters insert mode.
Alternatively, press i to insert text at the cursor position.
Type your new code or configuration line Example:
dtoverlay=vc4-kms-v3d

Exit insert mode
Press Esc.
Save and exit
Type:
:wq

and press Enter. (w = write, q = quit)

Extra Tips

Cancel changes without saving: Press Esc and type:
:q!

View line numbers while editing:
:set number

Append to the end of the file quickly:
G
o

Then type your new line.
Example: Adding a GPU memory setting to /boot/config.txt
sudo vi /boot/config.txt

Move to the end, press o, type:
gpu_mem=256

Press Esc, then :wq.
If you want, I can give you a one-command way to append a line to a /boot .txt file without opening vi at all. Would you like me to include that?



Got it — you want to edit a .txt file in the boot folder using vi and insert capital letters and symbols into it. Here’s a safe, step-by-step guide for doing this in Linux.

1. Open the file in vi

If the file is in /boot (which is a system folder), you’ll likely need root privileges:
sudo vi /boot/filename.txt

Replace filename.txt with your actual file name.

2. Enter Insert Mode

When vi opens, it starts in command mode. To type text (including capital letters and symbols):
Press i → insert mode (text will be inserted before the cursor)
Or press a → append mode (text will be inserted after the cursor)
Or press o → open a new line below and start typing

3. Typing Capital Letters

Just press Shift + letter (e.g., Shift + AA)
Caps Lock also works, but Shift is more common for single capitals.

4. Typing Symbols

Most symbols can be typed directly:
! @ # $ % ^ & * ( ) _ + { } | : " < > ?
For backslash \ or pipe |, just type them normally.
If your shell interprets some characters (like ~ or \), in vi they will be inserted as-is — no escaping needed.

5. Saving and Exiting

When done:
Press Esc to return to command mode.
Type:
:wq

and press Enter to save and quit.
If you want to quit without saving:
:q!

6. Special Notes for /boot

/boot is a critical system directory — changing files here can make your system unbootable.
If you’re just adding a .txt file for notes, that’s fine.
Never modify bootloader configs or kernel files unless you know exactly what you’re doing.
Example session:
sudo vi /boot/notes.txt
# Press i
# Type: SYSTEM UPDATE @ 2025-12-04
# Press Esc
# Type :wq and press Enter

If you want, I can give you a vi quick reference table for all commands you’ll need to insert capital letters, symbols, and special characters efficiently. Do you want me to prepare that?


Screenshot 2025-12-04 122146.png
Screenshot 2025-12-04 122321.png
Screenshot 2025-12-04 122403.png
Why is the "cmdline" still commented?
Screenshot 2025-12-04 122612.png
Screenshot 2025-12-04 122849.png
Screenshot 2025-12-04 152456.png

Load content from 1drv.ms?
Loading external content may reveal information to 3rd parties. Learn more
Allow
Load content from python-seabreeze.readthedocs.io?
Loading external content may reveal information to 3rd parties. Learn more
Allow
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.