Let's Learn Linux!: Some Basics! (Directory Structure) - Issue #2 - GaiaYoga Gardens, Lower Puna, Far East Big Island, Hawai'i - Saturday, February 25, 2023
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.
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.
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.
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.
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.
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.
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.
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!
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!
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.
I wish you all a lovely Linux week, until the next installment! ๐ ๐ ๐ โจ ๐ค
All images were taken with my Motorola G Power Android phone or my laptop.
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! ๐๐๐โจ๐ค
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.
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. ๐
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.
Thanks for putting this together! Will come in handy. !PIZZA
Absolutely, my deep pleasure! That's my hope! ๐ ๐ ๐ โจ ๐ค
I gifted $PIZZA slices here:
chapelle tipped tydynrain (x1)
@benthomaswwd(8/10) tipped @tydynrain (x1)
cryptothesis tipped tydynrain (x1)
Learn more at https://hive.pizza!
https://twitter.com/1600204728645734400/status/1629749993379860480
The rewards earned on this comment will go directly to the people( @tydynrain ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.
Thank you so much @poshtoken team! ๐ ๐ ๐ โจ ๐ค
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
@tydynrain! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @ijelady. (3/10)
The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want.
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! ๐ ๐ ๐ โจ ๐ค
Happy to hear from you.
That puts a big smile on my face! It's always wonderful seeing and hearing from you too! ๐ ๐ ๐ โจ ๐ค
It's a pity that the laptop lasted so little.
Now you will have more time for Hive and gardening.
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! ๐ ๐ ๐ โจ ๐ค
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
@tydynrain! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @chapelle. (4/20)
The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want.
lolztoken.com
But you can't piano a tuna.
Credit: reddit
@tydynrain, I sent you an $LOLZ on behalf of @chapelle
(2/10)
Farm LOLZ tokens when you Delegate Hive or Hive Tokens.
Click to delegate: 10 - 20 - 50 - 100 HP
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! ๐ ๐ ๐ โจ ๐ค
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
@tydynrain! Your Content Is Awesome so I just sent 1 $BBH (Bitcoin Backed Hive) to your account on behalf of @awah. (3/5)
Congratulations, @awah You Successfully Shared 0.300 WINEX With @tydynrain.
You Earned 0.300 WINEX As Curation Reward.
You Utilized 3/4 Successful Calls.
Contact Us : WINEX Token Discord Channel
WINEX Current Market Price : 0.230
Swap Your Hive <=> Swap.Hive With Industry Lowest Fee (0.1%) : Click This Link
Read Latest Updates Or Contact Us
@tydynrain! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @awah. (3/20)
The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want.
Yes, that's something that I really appreciate too! Thank you so much brother, I very much appreciate it! ๐ ๐ ๐ โจ ๐ค
Awesome my friend have a wonderful new week ahead
@tydynrain
@ijelady nominated you for a prize in the draw
!ALIVE
!BBH
@tydynrain! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @heartbeatonhive. (3/20)
The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want.
@tydynrain! Your Content Is Awesome so I just sent 1 $BBH (Bitcoin Backed Hive) to your account on behalf of @heartbeatonhive. (3/20)
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! ๐ ๐ ๐ โจ ๐ค
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.
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! ๐ ๐ ๐ โจ ๐ค
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
!ALIVE
!CTP
!PGM
!PIZZA
!MEME
!BBH
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!
Discord
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
@tydynrain! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @benthomaswwd. (8/20)
The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want.
@tydynrain! Your Content Is Awesome so I just sent 1 $BBH (Bitcoin Backed Hive) to your account on behalf of @benthomaswwd. (8/20)
Credit: unuma
Earn Crypto for your Memes @ HiveMe.me!
Thank you so much Ben! I do my best! ๐ ๐ ๐ โจ ๐ค
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
@tydynrain! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @oasiskp2. (3/10)
The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want.
Yes, that's very true! Thank you @oasiskp2, I appreciate it! That's my goal! ๐ ๐ ๐ โจ ๐ค
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
Via Tenor
lolztoken.com
...then I don't want to know how bad asworstos is.
Credit: reddit
@tydynrain, I sent you an $LOLZ on behalf of @edgerik
(3/10)
Are You Ready for some $FUN? Learn about LOLZ's new FUN tribe!
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! ๐ ๐ ๐ โจ ๐ค