Quickly start programming with Linux while learning the Raspberry Pi OS―the Linux distribution designed specifically for low-cost Raspberry Pis. This short guide reviews Linux commands, GUI, and shell scripting in a holistic manner by diving into both advanced and day-to-day tasks using the Raspberr
Practical Linux with Raspberry Pi OS: Quick Start
✍ Scribed by Ashwin Pajankar
- Publisher
- Apress
- Year
- 2021
- Tongue
- English
- Leaves
- 165
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
Quickly start programming with Linux while learning the Raspberry Pi OS―the Linux distribution designed specifically for low-cost Raspberry Pis. This short guide reviews Linux commands, GUI, and shell scripting in a holistic manner by diving into both advanced and day-to-day tasks using the Raspberry Pi OS.
What You'll Learn
- Navigate the core aspects of Linux and programming on a Linux platform
- Install Raspberry Pi OS on a Raspberry Pi
- Program in Shell, C, C++, and Python
- Redirect Io and work with the crontab
Who This Book Is For
Linux enthusiasts, software engineers, researchers, business analysts, and managers working with the low-cost Raspberry Pi.
✦ Table of Contents
Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: Introduction to Raspberry Pi
Single-Board Computers
Raspberry Pi
Linux and Distributions
Raspberry Pi OS
Raspberry Pi OS Setup
Preparing the SD Card Manually
Booting Up the Pi Board for the First Time
Configuring the RPi Board
Connecting Various RPi Board Models to the Internet
Summary
Chapter 2: Getting Ready
Operating System Shell
Raspberry Pi OS GUI
The Command Prompt
Updating the RPi OS
Linux Filesystem
Remotely Accessing the RPi
Summary
Chapter 3: Directory Commands and Text Editors
Absolute and Relative Paths
Commands: pwd, tree, and cd
Command: ls
Command: touch
Various Text Editors
Create and Delete Directories
Case-Sensitive Names of Directories and Files
Summary
Chapter 4: More Commands
Configuring the RPi Board
What Is sudo?
Getting Help on Commands
Network-Related Commands
Commands: File Operations
Printing a String
Control Operators
Filename Globbing
Command: History
Pipes
Summary
Chapter 5: Useful Unix Commands and Tools
Shell and Environment Variables
Useful Linux Commands
Useful Unix Tools
Summary
Chapter 6: Shell Scripting
Unix File Permissions
Command: nohup
Beginning Shell Scripting
User Input
Expressions in the Shell
If Statement
Switch Case
Length of a Shell Variable
Command-Line Arguments
Function
Loops in the Shell
Comparing Strings
File Operations
Summary
Chapter 7: I/O Redirection and Cron
I/O Redirection
stdin
stdout
Stderr
Crontab
Summary
Chapter 8: Introduction to High-Level Programming Languages
C and C++ Programming
Python Programming Language
History of the Python Programming Language
Python Enhancement Proposals
Philosophy of the Python Programming Language
Applications of Python
Python 3 on Debian Derivatives
Python Modes
Interactive Mode
Script Mode
Summary
Chapter 9: Programming with RPi GPIO
General-Purpose Input/Output Pins
Programming with GPIO
Summary
Chapter 10: Explore the RPi OS GUI
GUI Utilities on the RPi OS
Other Desktop Environments
XFCE
KDE Plasma
Summary
Appendix: Additional Tools
Raspberry Pi Imager
Additional Utilities
Manjaro Linux
FreeBSD
Additional OSs
Index
📜 SIMILAR VOLUMES
<span>Quickly start programming with Linux while learning the Raspberry Pi OS―the Linux distribution designed specifically for low-cost Raspberry Pis. This short guide reviews Linux commands, GUI, and shell scripting in a holistic manner by diving into both advanced and day-to-day tasks using the Ra
<div> <p>Learn to create inventive programs on your powerful Raspberry Pi and Linux & Python―with no programming experience required. This practical book has been revised to fully cover the new Raspberry Pi 3, including upgrades to the raspbian operating system. Discover how to configure hardwa
<p><em>Smart Home Automation with Linux and Raspberry Pi</em> shows you how to automate your lights, curtains, music, and more, and control everything via a laptop or mobile phone.<p><p> You'll learn how to use Linux, including Linux on Raspberry Pi, to control appliances and everything from kettles
Smart Home Automation with Linux and Raspberry Pi shows you how to automate your lights, curtains, music, and more, and control everything via a laptop or mobile phone. You'll learn how to use Linux, including Linux on Raspberry Pi, to control appliances and everything from kettles to curtains, inc
<p> <em>Smart Home Automation with Linux and Raspberry Pi</em> shows you how to automate your lights, curtains, music, and more, and control everything via a laptop or mobile phone.<br /> <br /> You'll learn how to use Linux, including Linux on Raspberry Pi, to control appliances and everything f