0xViking.eth 🔮 Profile picture
Feb 25 24 tweets 8 min read
Welcome to the first thread on our roadmap

"LINUX and Bash commands"

Below we will discuss why Linux is important, what Open Source Software is, and the basic usage of the Linux terminal

let's dive in 🧵👇

#100daysofweb3 #100daysofcode #web3 #linux #21DaysOfLearnandShare
1/ Image
You might have interfaced with Linux many times before because so many devices run Linux.

Phones, TVs, Point-Of-Sale devices, Networking devices, Game consoles, In-flight entertainment systems as well as stock exchanges.

2/
You might have also heard about the recent buzzword "cloud", which is just a Linux system.

Your favorite applications on the internet like mail, productivity suites, watching entertainment every product run in the cloud on Linux based systems.

3/
And if you are a developer you need an environment to test your code and eventually run your application. Containers streamline this process, but you know what even containers are built on Linux.

So no matter who you are you have interfaced with Linux at some stage.

4/
The very platform you are using now to read this is probably powered by Linux too.

5/
"OPENSOURCE"

Linux is an open-source software product that is protected by a license that makes sure that the software is freely available to anyone who wants to see it, contribute to it, and improve it.

6/
Now that is very powerful because you have more collective technical capabilities of those who have access to the source code than a closed software model.

one more thing, a lot of us may think that open-source software is powered by volunteers.

7/
No, it isn't there are many companies(Redhat) that employ developers to contribute to open-source software.

When we say Linux, it is a Kernel. The core component of any operating system that is responsible for resource allocation, file management, and security.

8/
Linux distributions are Operating systems that use the Linux kernel along with other components like Bootloader, Application libraries, package manager, utilities, and often GUI(Graphical User Interface)

Ubuntu, CentOS, and Fedora are a few examples

9/
"LINUX SHELL"

This is the environment which we will be working on, It is an interface with the rest of the operating system as well as executing commands

There are many shells,
* The Bourne Shell
* Bash Shell
* The C Shell
and many more

But the most used one is Bash Shell

10/
Few of the most used commands:

pwd -> current path
cd -> change directory
ls -> view contents in directory
cat (concatenate) -> opens file to add extra content
cp -> copy
mv -> move
mkdir -> make directory
rm -> remove
rmdir -> remove directory
touch -> new blank file

11/
grep -> search through all text in a given file
sudo -> perform tasks that require administrative or root permissions
tar -> archive multiple files similar to zip
chmod -> change permissions
ping ->check your connectivity status to a server
history -> history of commands

12/
I found this wonderful article by @awwsmm_dot_com which will be very helpful for further exploration
dev.to/awwsmm/101-bas…

13/
Well, most production servers will not have a direct keyboard, mouse attached to them, and again those servers are stored in icy cold server rooms

Then how would you execute commands?

A popular way to send commands is using a remote shell. For that, we have an ssh protocol

14/
"KERNELS AND USERSPACE"

As you might know, the kernel is the heart of an OS. It takes care of scheduling and running programs, file management, and security. But kernel also supports user programs that run in userspace like the shell, like a web browser, etc.,

15/
User programs interact with kernels with special devices and system calls

An individual program running is called a process and each process has its own private virtual memory

A process also has one of the states:
* running
* waiting to run
* blocked(waiting for resource)

16/ Image
Different types of processes:

1. User processes - run by users and are associated to terminal i.e., get input from a terminal and print output to terminal

2. Demon processes - They are started up at the system and provide services like networking.

3. Kernel processes

17/
File hierarchy in Linux

18/ Image
File permissions in Linux

the first "-" can also represent "l"(small L) other than "d" which mean it is a soft link to another file/directory

19/ Image
"RESOURCES"

Please look at this great cheat sheet on Linux commands by @Dave_Child
cheatography.com/davechild/chea…

20/
Video:

This is a "FREE" Linux technical overview course by @RedHat (there are 15 sections that takes 111 minutes, but at least look at 2,3,5,6,9,13 that takes 45 minutes)
redhat.com/en/services/tr…

21/
That brings an end to this thread, I have covered two topics of the roadmap in this thread and required resources for more detailed information.

1. Linux terminal usage
2. Commonly used bash commands

bit.ly/WEB3-ROADMAP

23/
Thank you for reading till here.

I am a budding developer in web3, Started #21DaysOfLearnandShare to learn more and share.

If you like the content,
✅Like the first post
✅RETWEETS are appreciated
✅Please follow @0xViking for more such content

Thanks again
0xViking

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with 0xViking.eth 🔮

0xViking.eth 🔮 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @0xViking

Mar 1
Day-5(#R2D5)

Focusing on JavaScript alone can change your life.

JavaScript lets you become a:

✅ Frontend Developer
✅ Backend Developer
✅ Blockchain/Web3 Developer
✅ Game Developer
✅ Embedded Systems Engineer
✅ Mobile App Developer

Resources🧵👇
Yes, our main topic today is

"JAVASCRIPT"

This thread is part of the WEB3 developer roadmap.
bit.ly/WEB3-ROADMAP

#100DaysOfWeb3 #100DaysOfCode #web3 #developer #21DaysOfLearnandShare
As I told you already JS alone can change your life so I cannot restrict how many days you want to spend JS as part of the roadmap.

But If you decide to have strong building blocks in JS check:-

One of the best interactive courses I found by @scrimba

scrimba.com/learn/learnjav…
Read 13 tweets
Feb 28
Day-4(#R2D4)

Today's here are the resources about:-
HTTP Caching, RPC Protocol, Browser’s developer tools

As part of the WEB3 developer roadmap.
bit.ly/WEB3-ROADMAP

🧵👇

#100DaysOfWeb3 #100DaysOfCode #web3 #developer #21DaysOfLearnandShare
1/
Caching :

As yesterday mentioned our browser tries to check the local cache first to resolve DNS.

Similarly, there are CDN services that provide complete websites from their cache using the HTTP protocol.

cloudflare.com/en-in/learning…

2/
RPC Protocol :

Normally our programs and processes run locally in our system, but there are some protocols that support execution in a remote system. Such as RPC protocol, which makes it easy for the peer-to-peer networks.

guru99.com/remote-procedu…

3/
Read 6 tweets
Feb 27
Well, today let us see some more very basic yet important that we use daily and don't notice what happens in the background.

How does a WEB BROWSER work?
What is DNS, HTTP protocol?

You can start directly from 9/ tweet if you don't need basic introduction stuff.

🧵👇

1/ Image
Companies typically make free web-browsers with some financial interest in how you use their product.

With this, they are able to track your computing habits and make revenue by selling your data to third-party vendors

2/
Okay, what exactly is a web browser?

In short, it is the place where you interact with the web.

Remember: The words internet and web are not interchangeable, They are related but two different things
Read 28 tweets
Feb 26
Let's talk about some basic "Networking Concepts"

This is part of the web3 developer roadmap
bit.ly/WEB3-ROADMAP

🧵👇

1/

#100DaysOfCode #100DaysOfWeb3 #21DaysOfLearnandShare #R2D2(total-Day23)
Networking is the word we use when we talk about connecting computers together so that they can share data with each other.

Local networks range from simple networks consisting of two computers to networks connecting hundreds of thousands of devices

2/
Who owns the internet?
internet is not owned by any individual or group.

The internet is a worldwide collection of interconnected networks (network of networks), cooperating with each other to exchange information using common standards

3/
Read 21 tweets
Jan 22
Have you recently heard the word "DeFi" or "Decentralized finance" and never know what is that or anything about it?

Well here i am, to help you understand the basic details of it in simple terms

So, Lets dive in "WTF is DeFi?"

👇🧵

1/
- In the previous "WTF is" thread about ETHEREUM part 1 i told that ethereum was created with the intention to decentralize everything.

- Smart Contracts help acheive decentralization of majority of things on blockchain.

Check this 👉bit.ly/WTFisSMARTCONT…

2/
- Financial system is one main thing that runs by centralized entities like governments and intermediaries like banks

- DeFi relies heavily on - Cryptography, Blockchain & Smart Contracts

- According to @defipulse today in DeFi Total Value Locked(TVL) is $92.36B 😱

3/
Read 24 tweets
Jan 21
Well in the last thread of "WTF is" about ETHEREUM we said it pioneered the concept of a blockchain smart contract platform.

But have you ever wondered what is this "SMART CONTRACTS" is and what it does?

Lets dive into this "WTF is SMART CONTRACTS?" thread and learn more

1/
In simple words Smart contracts are translations of an agreement, including terms and conditions into a computational code.

- The term "SMART CONTRACT" was coined by a well-known computer scientist, law scholar & cryptographer Nick Szabo( @NickSzabo4 ) in early 1990's.

2/
@NickSzabo4 - It is a piece of code that can be executed automatically in a deterministic way

- Usually stored and executed on the blockchain

- Smart contracts can store, send and receive crypto currency

- Even call other smart contracts

- Smart contracts once deployed are immutale

3/
Read 10 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(