Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Raspbian
  • Table Of Contents Toc
Learning Raspbian

Learning Raspbian

By : Harrington
4 (14)
close
close
Learning Raspbian

Learning Raspbian

4 (14)
By: Harrington

Overview of this book

This book is intended for developers who have worked with the Raspberry Pi and who want to learn how to make the most of the Raspbian operating system and their Raspberry Pi. Whether you are a beginner to the Raspberry Pi or a seasoned expert, this book will make you familiar with the Raspbian operating system and teach you how to get your Raspberry Pi up and running.
Table of Contents (10 chapters)
close
close
9
Index

Basic scripting


All the commands that you have seen so far are just single commands. The bash has the ability to execute multiple commands together in one go. Commands can be stored in a file called a shell script.

A shell script has its execute attribute set. It can then be run by simply changing into the directory that the script is in and typing its name.

These shell scripts can be run as normal program a on your Raspberry Pi.

Rebooting and shutting down your Raspberry Pi

You can reboot and shut down your Raspberry Pi using the built-in commands. To reboot your Raspberry Pi, all you need to do is run the reboot command.

Rebooting your Raspberry Pi

Sometimes, you will want to shut down your Raspberry Pi completely. To do this, you can use the shutdown command.

The shutdown command takes two different parameters: the first parameter is the type of shutdown that you want to do, and the second parameter is the time at which you want to do the shutdown.

Parameter

Description

-r

This reboots...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Raspbian
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon