Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi Computer Architecture Essentials

You're reading from  Raspberry Pi Computer Architecture Essentials

Product type Book
Published in Mar 2016
Publisher
ISBN-13 9781784397975
Pages 232 pages
Edition 1st Edition
Languages
Authors (2):
Andrew K. Dennis Andrew K. Dennis
Profile icon Andrew K. Dennis
Teemu O Pohjanlehto Teemu O Pohjanlehto
Profile icon Teemu O Pohjanlehto
View More author details

Table of Contents (18) Chapters

Raspberry Pi Computer Architecture Essentials
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Introduction to the Raspberry Pi's Architecture and Setup 2. Programming on Raspbian 3. Low-Level Development with Assembly Language 4. Multithreaded Applications with C/C++ 5. Expanding on Storage Options 6. Low-Level Graphics Programming 7. Exploring the Raspberry Pi's GPIO Pins 8. Exploring Sound with the Raspberry Pi 2 9. Building a Web Server 10. Integrating with Third-Party Microcontrollers 11. Final Project Index

Some handy Linux commands


The following Linux commands are very useful and you will find yourself using them often. Remember you can type man command where command is the command you are interested in at any time to learn more about it and the parameters it accepts.

Tip

Most commands also contain a more concise set of documentation under help as well.

The cd command allows you to change directories:

cd /home/pi

The touch command creates an empty file:

touch test.txt

The cp command can be used to copy files:

cp  /home/pi/test.txt /home/newuser/test.txt

The mv command can be used to move a file or rename a file:

mv /home/pi/test.txt /home/pi/test2.txt

The rm command will remove a file or directory depending on the flag used:

rm text.txt

To find out which directory you are in you can use the pwd (present working directory) command:

pwd

If you wish to list the contents of a directory you can use the ls command:

ls

To learn more about basic Linux commands, the Debian operating system website provides a in-depth guide at https://www.debian.org/doc/manuals/user/ch6.html.

You have been reading a chapter from
Raspberry Pi Computer Architecture Essentials
Published in: Mar 2016 Publisher: ISBN-13: 9781784397975
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}