Skip to content

Commit

Permalink
aliased commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
alokthakrar-eng committed Apr 2, 2024
1 parent 50373f7 commit 9f1e7dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Exercises/LinuxCommandLine.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Before we delve into the specifics of learning programming languages and algorit
## The History of Linux
As you might know, Linux is an operating system, or the glue behind all of the chips and circuitry inside of your computer. Currently, the DPEA workstations (what you're likely reading this on) are running off of Ubuntu, which is a user friendly flavor of Linux. There are many different types of Linux flavors, from Kali Linux to Debian to Fedora, all of which are unified under the fundamental Linux kernel. It was rooted in the UNIX operating system, developed by Ken Thompson and Dennis Ritchie of Bell Laboratories in 1969, and continued by Linus Torwald in the modern era. The swaggy king himself is shown below:

![Linus Torwald](/assets/Images/linus.jpeg)
![Linus Torwald](../assets/Images/linus.jpeg)

## What does Linux do?
The beauty of the Linux terminal is that it connects underlying hardware with software, running your device, peripherals, and more. It's reliant on _abstraction_: it clumps things up into fundamental building blocks -- command line utilities -- and builds upon those command line utilities to run code and manage resources. For instance, the layers of abstraction in a computer is shown below:

![An image of the layers of abstraction in a computer](/assets/Images/abstraction.jpg)
![An image of the layers of abstraction in a computer](../assets/Images/abstraction.jpg)


By directly accessing these command line utilities, we can do some really powerful stuff with the amount of control we have over the system. To do so, we need to explore the **command line**.
Expand All @@ -30,7 +30,7 @@ By directly accessing these command line utilities, we can do some really powerf
## What is it?
The command line is a method of directly accessing system utilities through text. They allow us to quickly and easily manipulate system resources and activities, which makes them super useful when it comes to writing code. Let's go through some basic Linux commands together -- try and follow along in your own terminal, which you can open through that gray box with a >_ icon within it. This is shown below:

![terminal icon](/assets/Images/terminal.png)
![terminal icon](../assets/Images/terminal.png)

We'll be using bash, which comes as a default on most Linux systems.

Expand All @@ -44,7 +44,7 @@ echo hello world
```
Congrats! You wrote your first bit of command line code! Your screen should look something like the image shown below.

![term](/assets/Images/term.png)
![term](../assets/Images/term.png)


## pwd
Expand Down
2 changes: 1 addition & 1 deletion Exercises/RpiSetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RPis, or Raspberry Pis, are the backbone of almost all of the projects here at t
## Your starting place
This is where it all begins! You have a DPi Computer+ board attached to a Raspberry Pi with a power supply, plug, and a 24V to 12V step-down transformer. Attached below is a photo of this setup.

![alt text](~/assets/Images/dpi.jpg)
![alt text](../assets/Images/dpi.jpg)

The DPi computer board provides a lot of benefits when it comes to working with the Pi beyond an interface for ports. One of these benefits is the auto-shutoff feature: when you turn off the RPi, it'll do a safe shutoff for it, allowing it to remain on while it goes through its sleep process. If this was not present, it'd basically just kill itself while sleeping if you instantaneously cut power to it. However, it does have its limitations -- be sure only to supply power back to the Pi after shutoff after it's gone through its entire shutoff process (e.g. the indicator lights on the Pi turns off)

Expand Down

0 comments on commit 9f1e7dc

Please sign in to comment.