𝔖 Scriptorium
✦   LIBER   ✦

📁

Practical Linux with Raspberry Pi OS: Quick Start

✍ Scribed by Ashwin Pajankar


Publisher
Apress
Year
2021
Tongue
English
Leaves
165
Edition
1
Category
Library

⬇  Acquire This Volume

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.


You'll comfortably work with the Linux command prompt, and explore the RPi OS GUI and all its base applications. Then move into writing your own programs with shell-programming and using high-level languages such as C, C++, and Python 3. You’ll also study hardware and GPIO programming. Use Python 3 for GPIO programming to drive LEDs and pushbuttons.

Examples are written in Shell, C, C++, and Python 3. Graphical output is displayed in helpful screenshots that capture just what you’ll see when working in this environment. All code examples are well tested on actual Raspberry Pi boards. After reading this book and following the examples, you’ll be able to write programs for demonstration in your academic/industrial research work, business environment, or just your circle of friends for fun!

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


Practical Linux with Raspberry Pi OS: Qu
✍ Ashwin Pajankar 📂 Library 📅 2021 🏛 Apress 🌐 English

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: Qu
✍ Ashwin Pajankar 📂 Library 📅 2021 🏛 Apress 🌐 English

<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

Linux & Python for Raspberry Pi: Getting
✍ William Edison 📂 Library 📅 2019 🏛 William Edison 🌐 English

<div> <p>Learn to create inventive programs on your powerful Raspberry Pi and Linux &amp; 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

Smart Home Automation with Linux and Ras
✍ Steven Goodwin (auth.) 📂 Library 📅 2013 🏛 Apress 🌐 English

<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 Ras
✍ Steven Goodwin 📂 Library 📅 2013 🏛 Apress 🌐 English

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

Smart Home Automation with Linux and Ras
✍ Steven Goodwin 📂 Library 📅 2013 🏛 Apress 🌐 English

<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