There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Beginners Guides

Hey everyone, I’m relatively new to linux and was looking for some advice/direction. I have been using Mint Debian Edition for around 6mo or so, and want to learn to use the command line efficiently and proficiently.

I have set up EndeavourOS on a backup laptop I have and have been playing with it, reading the Arch Wiki and such, but I feel like I’m not necessarily learning why I’m doing things, just doing what has worked for others.

So here I am. I guess I’m looking for recommendations for books or articles (physical or online) that can help me to learn and understand the workings on linux, and especially the command line.

Thank you all so much.

rand_alpha19 ,

I think, as a Linux beginner also (~10 months), the best way to learn the terminal is to figure out what tools are useful to you and then read the manual pages or [application name] --help (if the application supports that command). Learning how to use grep will also be really helpful for troubleshooting, since sifting through logs is such a pain.

Like if you want to download a YouTube video, install yt-dlp and then type man yt-dlp into your terminal to learn about how that tool works. You can do this for basic utilities too, like cp, dd, mv, etc. and other applications you have installed. You can also use yt-dlp --help but that won't open in the parser, just the terminal. Learn by doing things that are relevant to you and branch out from there.

There are also applications that will let you read the manual pages outside of a terminal, like xman, if you find that useful. After a certain point, you'll be able to write commands with switches/arguments without needing to check what they mean first.

Guenther_Amanita ,

I never had an IT background and also “just tried” Linux a few years ago.
Now, I’m still not an Linux expert, but relatively proficient with it.

I tried reading “How Linux works” (free e-book), but didn’t have a great time with it.

It’s just too detailed for someone who just wants to use Linux. It might be an absolutely great resource if you plan to work in IT, but other than that, just it’s too much wasted time.


What helped me a lot was to use Linux as an OS for my homeserver.

You don’t need anything fancy for it. Just use an old spare laptop or something similar you have laying around, or buy an used small form factor PC, like those Mini-PCs many businesses use. Those often cost less than 50 bucks and would otherwise land on the trash.

Then, install your server OS of choice. The most popular one is just plain ol’ Debian, and it’s what I used. It’s a great choice!

Servers run without a display or GUI (DE/ WM). You set it up once, and then connect to it remotely via SSH.
With that, you can either install a web interface like CasaOS or Cockpit, or just use the CLI for everything.

For the start, you can choose just Nextcloud AIO and call it a day. It comes with all things needed for a functioning webserver. But, things said, the learning experience ends here pretty quickly. It’s made to be easy and painless.

If you want to learn more, then consider setting up the stuff for yourself. It’s also really not hard (coming from someone who doesn’t IT stuff professionally!), but takes a bit more time, because you have a lot of choices.

For that, you might consider checking out c/Selfhosted and awesome-selfhosted on GitHub.
Theres a lot of really cool things you can discover!

The main reason I recommend that, and not just “Try LFS, Arch, Void, Gentoo, or whatever” is because I find it pretty much useless. Sure, you learn how it works, but for what price?
When you set up your own homelab, then you have actual useful things running, you also learn a lot, and maybe you can add it to your CV when applying for jobs. I for example work in the chemistry sector, where IT stuff like this is pretty useless on the first glance, but I often got invited for a job interview exactly because of that. It’s just a nice skill to have!


For checking out great CLI tools, check out the according video from TheLinuxExperiment or other YouTube/ PeerTube videos.

Try to learn the basic commands, like cd, ls or cat, then look up for more advanced/ alternative tools, like tree (instead of ls), bat (instead of cat), and so on, and then try to learn shell scripting.

I really like using fish instead of bash, because it’s a very friendly and interactive shell ;)


I hope that my comment was helpful! :)

Presi300 ,
@Presi300@lemmy.world avatar

The best advice… Just use Linux more… It’s the only way to get familiar with it

vk6flab ,
@vk6flab@lemmy.radio avatar

My first recommendation is to become familiar with one flavour of Linux. Debian is a solid choice and it will give you a good understanding of how a great many derivatives operate.

The command line is a tool to get things done, it’s not an end to itself. Some things are easier to do with a GUI, many things are easier to do with the command line interface or CLI.

Many Linux tools are tiny things that take an input, process it and produce an output. You can string these commands together to achieve things that are complex with a GUI.

Manipulation of text is a big part of this. Converting things, extracting or filtering data, counting words

For example, how many times do you use the words “just” and “simply” in the articles you write?

grep -oiwE “just|simple” *.txt | sort | uniq -c

That checks all the text files in a directory for the occurrence of either word and shows you how many occurred and what capitalisation they used.

In other words, learning to use the CLI is about solving problems, one by one, until you don’t have to look things up before you understand why or how it works.

Presi300 ,
@Presi300@lemmy.world avatar

Debian is a terrible choice for beginners

princessnorah ,
@princessnorah@lemmy.blahaj.zone avatar

What would suggest is a better option for beginners than a Debian-base?

doubtingtammy , (edited )

IDK if thats true in 2024. Debian 12 isn’t much harder to setup than mint or Ubuntu, and the version of gnome it ships with is perfectly fine. I’m not a beginner anymore, so maybe there’s something I glossed over.

Oh wait, I just remembered the thing I glossed over. Needing to install sudo would definitely throw a beginner for a loop. (Iirc, you only need to do that if you give a root password during install). And that’s the problem with trying to learn Linux. Someone will tell you the thing is easy, but they forgot about some arcane step

just_another_person ,

The only way you’re REALLY going to learn is be actively using things. If everything is just working, GREAT! That’s all you need to know. Just keep enjoying it.

If there something specific you are using this for, let us know and we might be able to help you out.

That being said, one of the easiest to force yourself to learn where everything is, is by using the CLI instead of GUI wherever applicable. Install packages, do updates, change settings…etc.

bionicjoey ,
Kongar ,

I’ve seen this one recommended in the past. I think it’s great for beginners yet still full of useful information.

linuxjourney.com

variants ,

I think you need like a project that will give you a goal and things to look up to do specific things. What got me into Linux was running a minecraft realm, then we hit limitations on the service so opted for a server instead which lead down the road to a VPS and had me using Linux and commands

radswid ,
@radswid@feddit.org avatar

Nice to hear that you have found your way to Linux. What helped me a lot to understand Linux and the command line better was trying to install Arch, following the instructions in the wiki, failing at the first attempt and trying again and finding the error.

NegativeLookBehind ,
@NegativeLookBehind@lemmy.world avatar

There’s a book called “How Linux works” and I think you might find a lot of good info there.

And at a glance, this Bash tutorial looks pretty good: https://www.freecodecamp.org/news/shell-scripting-crash-course-how-to-write-bash-scripts-in-linux/

CameronDev ,

Psst, you link has gone missing

NegativeLookBehind ,
@NegativeLookBehind@lemmy.world avatar

Weird, I can still see it

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines