+ some more context into file formats
25 Jan 2024
Let’s properly go into this topic 🐇
For more details, check (Silberschatz, Galvin, and Gagne 2005, chap. 1)
“An operating system is similar to a government. Like a government, it performs no useful function by itself. It simply provides an environment within which other programs can do userful work.”
– (Silberschatz, Galvin, and Gagne 2005, chap. 1)
Terminal
Image created with DALL·E via Bing Chat AI bot. Prompt: “a gigantic wooden question mark looms above the big ben, ultra-realistic awesome painting”
Tip
You will inevitably encounter puzzling ⚠️ error messages when programming, no matter how senior or skilled you are.
Understanding how everything is tied together will help you get to the core of the problem more quickly. You will get better at finding the right keywords to search for solutions online.
A computer from the 1950s
(Computer History Museum n.d.)
Source: Wikimedia Commons - Rwoodsmall
GNU stands for “GNU is not Unix”. Computer nerds love a recursive joke.
See (Silberschatz, Galvin, and Gagne 2005, Appendix B) for more on Windows.
The remote machine you are using this week is a virtual machine!
Recap 🕰️
Image source: Gortu at English Wikipedia
Recap 🕰️
sh
or the Bourne shell: developed at AT&T labs in the 70s by a guy named Stephen Bourne.bash
or the Bourne again shell: very popular, compatible with sh
shell scripts.ksh
or the Korn shell: provides enhancements over the sh
and it is also compatible with bash
.csh
and tcsh
: shells that have a syntax similar to the programming language C
.Want to become a shell scripting pro? Check out (Ebrahim and Mallett 2018).
Recap 🕰️
CMD
Powershell
Original product: Microsoft. This animation: Useerup, CC BY-SA 3.0, via Wikimedia Commons.
What does all of that have to do with the cloud?
From the major cloud providers:
Amazon Web Services (AWS)
Microsoft Azure
Google Cloud Platform (GCP)
In sum:
We can think of these services in the following categories:
Let’s go through each one of those.
For example, cryptomining is against the T&Cs. (Source)
* You might not even notice, but we will use an EC2 instance in our labs this week.
I need to tell you a tiny bit about security and cryptography, as these things are important when connecting to a remote machine.
We saved you the burden of using keys this week.
Instead, we configured our cloud’s SSH server to accept passwords.
However, SSH keys will make an important comeback next week when we start playing with Git!
LSE DS105W (2023/24) – Week 01 | archive