Let's Learn Linux!: Some Basics! (Directory Structure) - Issue #2 - GaiaYoga Gardens, Lower Puna, Far East Big Island, Hawai'i - Saturday, February 25, 2023

avatar
(Edited)

Polish_20220714_121452303.jpg

Polish_20220714_121631044.jpg

Polish_20230217_163432316.png

Polish_20220714_121631044.jpg

Warm greetings fellow Linux-and-FOSS lovers! ๐Ÿ˜๐Ÿ™๐Ÿ’šโœจ๐Ÿค™

My new laptop (new to me - it's actually refurbished, but in new condition) that I just got at the beginning of January died a few days ago, much to my chagrin. I'm doing my best to get it sent back so that I am able to get a new one ASAP, as I really don't like being without a (good) computer. Although I'm bummed that it died, I'm choosing to see this as an opportunity to perhaps get an even better laptop.

Polish_20220714_121754649.jpg

One thing I'll say, however, is that a very frustrating trend that I've seen in computer manufacturers over the last few years is to make systems that are far more flimsy and fragile than their predecesors. My old Dell that I had for many years before it died was made so much better than this new Dell, with more ergonomic and useful features. I used to have quite a lot of respect for Dell and the systems that they produce, but my experience with this new system has definitely made me lose a fair bit of that respect.

Polish_20220714_121754649.jpg

Because I don't presently have a functioning laptop, several of the things that I had intended to do in these posts is not very feasible at the moment. With that in mind, I've decided to go over some important basics in these first few posts, something for which I don't really need a computer. That should give me time to get a new system before it's actually needed. I had wanted to do this anyway, but this turn of events has made it necessary.

Polish_20220714_121754649.jpg

So what are some of the basics of a Linux system? Well, let's begin with one of the most noticeable aspects which is the directory structure. If you've ever worked with different Unix-like systems, you'd quickly notice that the directory structure is very similar between different variants. Pretty much all Unix-like operating systems, including Unix itself, are going to have a surprisingly similar directory structure. This is true for Linux as well. The Linux Foundation maintains what's called the Filesystem Hierarchy Standard, which all Linux distributions are strongly suggested to follow.

Polish_20220714_121631044.jpg

This is a screenshot from version 3.0 of the FHS, which was released on June 3, 2015. Each directory would appear in a graphical file manager (of which there are a great many) as folders and subfolders. The root directory / contains all other directories.
Screenshot_20230225-201903-705.png

Polish_20220714_121631044.jpg

It should be noted that there is almost always minor variation between different Linux distributions regarding this directory structure. For example, in Arch Linux there are directories that are not present in the above image, such as /proc and /sys, which deal with presently-running process and kernel parameters and device and kernel informations. These various directories in / may or may not contain subdirectories. /bin, for example is never supposed to have subdirectories, whereas /usr has quite a complexity of various subdirectories.

Polish_20220714_121754649.jpg

The /home directory exists in most Linux distributions (I don't actually know of any that don't have it), and it will contain individual user home directories. In my systems, I'm the only user, so only /home/tydynrain is present. Several different people, however, can each have their own separate home directories within /home. Each user only has the ability (unless he or she escalates permissions) to make changes to their own home directory.

Polish_20220714_121754649.jpg

There is one other important directory to mention, the /root directory, which is the home directory for the root account, which is created before all other accounts. Technically this directory is optional, but it does exist in an Arch Linux system. The root account has the ability to do pretty much anything in the system, so it is very important to understand how to use it correctly, otherwise it is possible to damage or destroy your entire system, and quote quickly!

Polish_20220714_121754649.jpg

And this brings us to the topic of the next installment of Let's Learn Linux!, permissions, which is another very important aspect of any Linux (or even any Unix-like) system that needs to be understood well. Permissions are how everything happens in a Linux system, and we'll be diving into that next week!

Polish_20220714_121754649.jpg

For those who have an interest in getting an idea of the multitude of Linux distributions (distros), and getting some useful information on them, you might like to go take a look at DistroWatch, though I wouldn't put too much weight in their distro ranking (hit counter) on the right side of the site.

Polish_20220714_121754649.jpg

I wish you all a lovely Linux week, until the next installment! ๐Ÿ˜ ๐Ÿ™ ๐Ÿ’š โœจ ๐Ÿค™

Polish_20220714_121754649.jpg

All images were taken with my Motorola G Power Android phone or my laptop.

Polish_20220714_121551463.jpg

Thank you all so much who have helped me get to where I am today, and allowing me to share more of the beauty and magic from my life and my world with you, and for your continuous appreciation and support! I am truly deeply grateful! ๐Ÿ˜๐Ÿ™๐Ÿ’šโœจ๐Ÿค™

Polish_20220714_121551463.jpg

If you'd like to find me on other alternative platforms where I have accounts (I spend most of my time here on Hive), click on this signature image below to go to my LinkTree page.

Polish_20220714_123613996.png

If you'd like to send me a BTC Lighting Tip (made possible by the fantastic work of brianoflondon on @v4vapp), just scan the QR image below. ๐Ÿ‘‡

tydynrain.png

Sources
Signature image created by @doze, and the dividers made by @thepeakstudio, with all tweaked to their present form by me.

Banner image created by me using Polish, with the Arch Linux logo converted into ASCII art, and Tux the Linux Peguin created by Larry Ewing.

Polish_20220714_121452303.jpg



0
0
0.000
40 comments
avatar

Thanks for putting this together! Will come in handy. !PIZZA

0
0
0.000
avatar

Absolutely, my deep pleasure! That's my hope! ๐Ÿ˜ ๐Ÿ™ ๐Ÿ’š โœจ ๐Ÿค™

0
0
0.000
avatar

I still remember is not too long you made post about your new laptop with so much excitement. I am really sorry that it didn't serve well. I hope you get better one this time.
Happy Sunday.
!ALIVE

0
0
0.000
avatar

Thank you so much @ijelady, I really appreciate that! Yes, I only had it for one month and twenty days before it died! Yes, that's my hope, thank you again dear! Happy Sunday! ๐Ÿ˜ ๐Ÿ™ ๐Ÿ’š โœจ ๐Ÿค™

0
0
0.000
avatar

Happy to hear from you.

0
0
0.000
avatar

That puts a big smile on my face! It's always wonderful seeing and hearing from you too! ๐Ÿ˜ ๐Ÿ™ ๐Ÿ’š โœจ ๐Ÿค™

0
0
0.000
avatar

It's a pity that the laptop lasted so little.
Now you will have more time for Hive and gardening.

0
0
0.000
avatar

Indeed, it's kind of ridiculous, but hopefully I'll be able to get an even better system once the refund goes through! Haha...that is very true! ๐Ÿ˜ ๐Ÿ™ ๐Ÿ’š โœจ ๐Ÿค™

0
0
0.000
avatar

The advantage of Dell is that the components are perfectly compatible and balanced, that there is a good after sales service and good software utilities. But the overall performance of their PCs is not the best.
I use Linux only for utility purposes, to repair PCs from a bootable USB stick, it's the only way sometimes.
!ALIVE
!LOLZ
!PIZZA

0
0
0.000
avatar

Yes, I've always really liked Dells, but this experience left a bad taste in my mouth! I can't imagine using anything other than Linux, and especially Arch Linux on my computers! Every crazy-ass thing I've ever wanted to do I've been able to do in Linux! ๐Ÿ˜ ๐Ÿ™ ๐Ÿ’š โœจ ๐Ÿค™

0
0
0.000
avatar

I love in Linux the /proc filesystem concept as a means of reading information from the kernel in a way that is easy.

Nice post mate!

!wine
!ALIVE
!BBH

0
0
0.000
avatar

@tydynrain! Your Content Is Awesome so I just sent 1 $BBH (Bitcoin Backed Hive) to your account on behalf of @awah. (3/5)

0
0
0.000
avatar

Yes, that's something that I really appreciate too! Thank you so much brother, I very much appreciate it! ๐Ÿ˜ ๐Ÿ™ ๐Ÿ’š โœจ ๐Ÿค™

0
0
0.000
avatar

Awesome my friend have a wonderful new week ahead
@tydynrain
@ijelady nominated you for a prize in the draw
!ALIVE
!BBH
heartbeat-on-hive-nomination.png

0
0
0.000
avatar

Thank you so much Ben! I wish you a fantastic new week too brother! Wow, yay! Thank you very much @ijelady! I deeply appreciate it! ๐Ÿ˜ ๐Ÿ™ ๐Ÿ’š โœจ ๐Ÿค™

0
0
0.000
avatar

Very informative, linux is awesome. I used to sell Gateway computers (a competitor of Dell) but always secretly admired Dell computers. While Gateway marketed to consumers, Dell marketed to businesses and had much better success. The store I worked at for seven years closed in 2004. I began working there in 1998 all the way to the bitter end. Technology has changed tremendously since '04, it's almost funny what was "impressive" back then.

0
0
0.000
avatar

Thanks much Benjamin! I appreciate it! I remener Gateway computers! Wow, that's another interesting bit of information that I'm grateful to know! Oh my goodness, yes indeed! My phone has more power than many older computers! Yep, I remember how computer magazines used to talk about the latest and greatest new technology! ๐Ÿ˜ ๐Ÿ™ ๐Ÿ’š โœจ ๐Ÿค™

0
0
0.000
avatar

You know your stuff mate awesome work
@tydynrain
As an extra reward for spotlighting on @heartbeatonhive here are some tips have a blessed and wonderful day
heartbeatonhivesentyoutips (6).png
!ALIVE
!CTP
!PGM
!PIZZA
!MEME
!BBH

0
0
0.000
avatar

Sent 0.1 PGM - 0.1 LVL- 1 STARBITS - 0.05 DEC - 1 SBT - 0.1 THG - 0.000001 SQM - 0.1 BUDS tokens to @benthomaswwd

remaining commands 2

BUY AND STAKE THE PGM TO SEND A LOT OF TOKENS!

The tokens that the command sends are: 0.1 PGM-0.1 LVL-0.1 THGAMING-0.05 DEC-15 SBT-1 STARBITS-[0.00000001 BTC (SWAP.BTC) only if you have 2500 PGM in stake or more ]

5000 PGM IN STAKE = 2x rewards!

image.png
Discord image.png

Support the curation account @ pgm-curator with a delegation 10 HP - 50 HP - 100 HP - 500 HP - 1000 HP

Get potential votes from @ pgm-curator by paying in PGM, here is a guide

I'm a bot, if you want a hand ask @ zottone444


0
0
0.000
avatar

Thank you so much Ben! I do my best! ๐Ÿ˜ ๐Ÿ™ ๐Ÿ’š โœจ ๐Ÿค™

0
0
0.000
avatar

It is so painful to loss one of your companion tool at a time you likely don't expect it. Sure you will have a better one soon.
!ALIVE

0
0
0.000
avatar

Yes, that's very true! Thank you @oasiskp2, I appreciate it! That's my goal! ๐Ÿ˜ ๐Ÿ™ ๐Ÿ’š โœจ ๐Ÿค™

0
0
0.000
avatar

Thanks for your post, I in particular since I have computer I have used Windows, but I find it very interesting to learn something of Linux, thanks for sharing your knowledge.
Have a nice day.

!LOLZ
!GIF linux

0
0
0.000
avatar

You're most welcome @edgerik! I'm grateful that you have an interest in learning about Linux! It's amazing! In future posts I'll show lots of cool things that you can do in Linux! Thank you again brother! Have a fantastic day! ๐Ÿ˜ ๐Ÿ™ ๐Ÿ’š โœจ ๐Ÿค™

0
0
0.000