r/EndeavourOS • u/NextInitial8560 • 18d ago
General Support How to learn linux?
Hi guys! I use Endeavouros and have been for about 7 months at this point, but I still know only like 10 commands lol. What's the best way for me to learn more? I have wikiman installed with arch docs and have tldr as well, but how should i properrly learn the system? Thanks
17
u/thatsgGBruh 18d ago
Give yourself a project, like setting up a media server (like jellyfin). And see if you can watch some videos on it.
3
10
u/tastychicken 18d ago
I would personally say 'memorizing commands' isn't how you get to know the system.
If I were you I'd put some time into exploring the basics of some components of the OS, like the file system, what the reason for /etc, /opt and folders like that are for.
Maybe learn some about GRUB and stuff like that as well, more general system knowledge to familiarize yourself.
On a Mac or Windows... your 'knowledge of the system' isn't how many commands you know in those respective systems terminals, right?
I suppose I'm a veteran, I've been on and off on linux for 20 years now, and most recently fully committed to a home PC setup with EndeavourOS like 2 years ago. I also do work on the same distro. And I still look up commands before running them and read man pages. I only have the commands I most commonly use memorized.
5
4
u/Silent_Jpg22 17d ago
One of the ways I learned command line was to replace simple tasks that I would normally turn to a gui for and figure out how to do it through commands.
For example: instead of using a gui to check system stats pr condition, learn utilities like lsmod, htop, modprobe and the like.
The second example: As others have mentioned, do projects like setting up media servers or learning how to create small test partitions. There is also a TUI based game, the name is slipping me right now and I can't look it up, that have like 40 levels, each level challenges you to find the password and ssh port for the next level. I was only able to do the first 8 levels before my attention was pulled away, but it was an awesome way to learn more about command line.
1
u/Famous-Gap-1949 17d ago
Overthewire?
1
u/Silent_Jpg22 17d ago
Yes! Bandit to be specific! It's still on my list of Linux things to do, just so busy with school.
3
3
u/LateStageNerd 18d ago
Introduction to Linux (LFS101) - Linux Foundation - Education is a good, broad foundational course that includes many CLI commands (but the focus is broad). It is somewhat dated, but it is still is a great starter.
If you specifically want to learn the CLI, then there are choices in this list: computer-science-resources/resources/devops/linux-terminal/free/index.md at 63ad70e3e3b6923124061343592d63c4c3e5b09e · sametcn99/computer-science-resources · GitHub. Depending on how you best learn and what you want to explore next, you can choose from its lists interactive tutorials, books, web pages, etc. That page is just the free ones related to the Linux CLI.
1
u/New_Hold8135 15d ago
lfs, gentoo wiki or arch wiki all valid. Try to install a system instead of reading the wiki all the way, encounter problems and learn how to solve it.
3
u/LeePetra 17d ago edited 16d ago
I use simple process when doing thing on EOS with gpt\claude support (my main instant support). I have rules that pressing ai to proces all topics into the step by step proces with explanation. Also - have the rule to chec current status of what I have installed, broken - before chat will spam me with rich, multipage answer that will be inaccurate just after first step. :)
If got suggest to make a wrapper I asked my self I wanted to have it now or to repeat proces by hand to remeber too.
After a year (almost) I'm not Linux fighting warrior kind of, but I'm smart enough to proces thing proper way and with no frustration. Mainly. 😂😎
Linux is perfectly described in web, and 90% problems is well described patterns easy to be fixed in minutes. And - we liked or not - gpts read it houbdret times and are great way to support and teach you if you put effort to set up the rules how they should proces and guide you through the "tickets".
Cheers!
2
u/The_Homer_Simpson 18d ago
Learn Linux tv. Genuinely a decent chap that’s great with some basic tutorials etc.
1
u/rickmccombs 15d ago
He says to use sudo to chmod, which you won't need to do in your /home directory.
2
u/His_Turdness 17d ago
I hate messing about in the terminal. That's not how a PC should be used. A good GUI is much better. Or TUI.
If you can rename, move, copy and paste, delete files and maybe SSH between devices, that's enough. Also changing file permissions is handy via terminal, but it would be better to be able to do it via GUI.
Mac OS is great for giving you ways to do this without a terminal.
That said I still prefer EOS over anything else.
1
u/rickmccombs 15d ago
It's good to know how to use the terminal. Some day after an update, your GUI may not start.
1
1
u/SwimmingThroughHoney 11d ago
Having a basic understanding of it doesn't hurt. But honestly, with the amount of resources available online now-a-days, if you're GUI doesn't start it's not like you're truly up a creek without a paddle (at least as long as you have a phone or another computer).
2
u/jeroenim0 17d ago
The fact that you only know 10 commands is great kudos to Endeavouros. That is exactly what it should do. A user Should never have to open a command line using the os! Great succes that is!
That does not solve your problem off course. But give your self a task, and try to do it all in the terminal.
1
u/RodeoGoatz 17d ago
Go through their wiki. They built it to learn Arch. I think there are a decent amount of video tutorials also
1
u/Najterek 17d ago
Tbh if you are happy with your setup you don't need to learn if everything works like you want. W.g. I'm daily driving 3 years Linux desktop i set it up.like I want and that's it. I'm using terminal only for updates.
1
u/Paladongers sudo pacman -Syu 17d ago
"Learning the system" is a very wide task, there's lots to go through. You can find plenty of tutorials online which will guide you through different things, but by far the best way is setting up a little project or something you're interested in learning yourself!
Do you have any ideas you'd like to make, or tasks you do often which you could program around? For instance, I am a big nerd and I like taking notes on the terminal using vim. I have a function called new-journal-entry "Title" which I can call from anywhere, and it'll create a neatly formatted entry in my journal directory with the corresponding dates, structures and so on.
This manages stuff like creating functions with bash, creating files, using the date command to create formatted timestamps, etc.
And then I have a slightly more complicated bash script which grabs all my entries and compiles them into a pdf journal which I can read and go through.
Now I have a bunch of simple small things I use all the time, a small journal to reference things, and all mostly for fun
1
u/studiocrash KDE Plasma 17d ago
Check out a channel on YouTube called LearnLinux.tv
If you’re more into reading, I’d highly recommend a short book called Linux Pocket Guide by Daniel Barrett. It’s up to the 4th edition now.
1
u/0815Username 16d ago edited 15d ago
Why do you need to learn in the first place? There's no big secret. Just learn what you need and eventually you know a lot. If you don't need anything, great, no? I guess if you really want to know, just pick hard projects.
I can recommend this: https://linuxcommand.org/tlcl.php
1
u/TH3_FISH 15d ago
Install linux using arch iso it will teach you fdisk and then read lots of read hat docs about networking and arch wiki. I dont play video games any more after discovering arch linux. I now just install various linux distros all the time now.
1
u/rickmccombs 15d ago
There is a subreddit r/Linuxuscalechallenge (I'm writing that from memory.) You could try going through that. It suggests using an online server, which some have free offers for the first $100 for free, but you don't have to do that part.
1
u/sammytammy212 14d ago
Know the basics of the filesystem. I wouldn't recomment learning lots of commands. Whenever you need to do something, google the docs of the thing and slowly over time you'll learn and fail and succeed. I've been using linux for almost 8 years and my process is the same.
1
u/mastershake2013 12d ago
I'll tell you how it's done -
Don't worry about it and only look up each command as needed. Just use Ai to look up which command you need for what task. Eventually you will do it so many times you begin to remember them. I've been using linux for 5 years now... I might have 10 commands memorized. Don't care, we have local Ai now. So I don't have to memorize them, nor do I have to learn 1,000 commands. Screw that I have other things to do. Linux works just fine for me, and I can fix just about any problem so I'm not suffering by not having a boatload of commands memorized.
And I use the command line daily. By using the Ai you can also post any error message in there, and it will tell you why the command didn't work, and what to do instead. Reading it's reply messages will teach you a lot.
1
u/ArshiyaXD 18d ago
What I did was search for online courses. They are often tagged with different levels to know if it is for beginners or pros.
Look up what they teach you and learn these things by yourself with free online videos or documentation.
To be fair, I had Linux in school and work so I don't know how good that really works.
I also have a big book that I got recommended but that wasn't for me.
1
•
u/AutoModerator 18d ago
Thanks for posting.
If your issue is solved, please reply with
!solved.Please also read the subreddit rules in the sidebar/community info and check the official EndeavourOS sites:
Please keep it respectful and enjoy the community.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.