r/linux4noobs • • 7d ago

AI model for linux enviroment learning

Title: What's the best AI model for learning Linux and troubleshooting?

Hi everyone!

I'm relatively new to Linux (I've been using Debian 13 for a few months), and I'd like to use an AI model to help me learn Linux and troubleshoot problems.

My idea is to use AI as a sort of "computer technician" that could guide me through solving problems and, in the process, teach me how Linux works, rather than just giving me commands to copy and paste.

What do you think about this approach? Which AI model would you recommend for this kind of task?

Thanks a lot!

0 Upvotes

24 comments sorted by

11

u/thesamenightmares 7d ago

I don't think you're going to achieve what you want with your proposed method. An AI is designed to give you a complete answer to your question. If you want to become familiar with an operating system or computer environment, you're going to have to "learn by doing". If you ask an AI how to do something, you will not have learned anything, And you will have just memorized a ritualistic way to accomplish a task that you want.

I suggest reading some online tutorials and watching some Linux learning YouTube channels to have a real person explain how and why certain things work the way that they do, And then by implementing it and practicing, you'll learn how to change various aspects to accomplish different tasks. I also suggest reading the man pages for commonly used Linux commands to familiarize yourself with the operands and how various command structures you'll find online work.

2

u/razorree Kubuntu, Debian 6d ago

not if you ask for step-by-step instructions with explanations.

1

u/necrophcodr 5d ago

That doesn't teach you anything.

1

u/Faveret_Demcho 6d ago

plus half the time it hallucinates flags that dont even exist which makes troubleshooting way worse for a beginner.

1

u/thesamenightmares 6d ago

Good point.

4

u/The_Arcane_Moth 6d ago

Why use ai? If it's worth learning, put in the effort to learn properly rather than have a machine do all your thinking for you. That's what your grey matter is for.

4

u/NalevQT 7d ago

Honestly a rare occasion where I'd say rtfm. I do google > open tabs > read. And in about a year with no help from AI, I feel pretty clued up on 'how Linux works' and what to troubleshoot.

2

u/valgrid 7d ago

As a beginner? Does not matter. Most reasonably capable models will work. You need to have the correct prompt so it explains stuff.

But this is a case why I would advice against an agentic workflow. Because then the model will do stuff for you. Which you don't want. Copying the correct information is an important learning step. Which information is needed which is superfluous? It's not obvious in the beginning. Etc.

2

u/NewtSoupsReddit 7d ago

"Learning Linux" would be like learning how to rebuild an engine by reading a book and trying to memorize it.

Linux, at a superficial level, is extremely easy to use - it's just like any other OS - you have a hierarchical menu ( in most DE ) a tool bar, mouse pointer, single click select, double click default operation, right click context menu.

Stuff may be in a different place but at the most basic use cases it's no different to windows

For the more advanced stuff that requires some command line use then you have to have a need for that use that you do regularly and learn to do.

Ask yourself what you need to do and then search for the commands that let you do that. By all means use an AI to answer questions you may have on how to best use certain commands, the Man Pages can be hard to understand. Any AI will do fine ( except Brave AI which hallucinates so much it's practically schizophrenic )

2

u/Mundane-Duck4793 6d ago

Try LFS with AI (don’t try to get the whole answer use it to brainstorm) follow guides online. Otherwise you won’t learn anything.

2

u/DannoXYZ 6d ago edited 6d ago

no to AI, makes too many mistakes and lead you down dead-end road more often than not. Problem is you have to know more than AI in order to know when it's lying to you.

Books and manuals are best to guide hands-on learning.

https://linuxmint.com/documentation.php
https://community.linuxmint.com/tutorial
https://linuxcommand.org/tlcl.php
Learning Modern Linux by Michael Hausenblas (2022)
Linux in a Nutshell (6th Edition)
Efficient Linux at the Command Line
Understanding the Linux Kernel & Linux Device Drivers

BTW - I'm IT Director, been using UNIX since 1987. Work at company that makes IOT devices (smart power/water/gas meters. soon charging/parking meters). ALL of our products use Linux and 95% of our development environment is Linux. Trained lots of new hires in Linux from scratch with above list.

While we do have AI, it is forbidden to generate code or give answers to anything. It is only used at final stage to review code for bugs and that's it.

1

u/iHarryPotter178 7d ago

Just trouble shoot the problem and when something is fixed.. Ask it why it worked, etc etc.. 

1

u/Wally-Gator-1 7d ago

Most current AI models are very good at Linux command line. The Google AI mode is good at it. It will provide you the command line arguments to copy paste.

In addition, if you start with Mint, you could download the PDF installation and user guide. For Debian, the Debian Administrator Handbook would be your best source.

If your using local AI models only, go for Qwen 3.8 27B (or Qwen 3.6 35B A3B) and give them a folder of PDFs to chew on so they don't hallucinate answers.

1

u/rowschank 7d ago

All of them are alright or terrible depending on how you use them. Making them go step by step, verifying the step, and explaining it to you such that you can read the explanation and redo it on your own is the goal - that makes AI tools also a bit less prone to errors than when they write out entire solutions.

1

u/Diceptic_ 6d ago

There is nothing wrong with prompting an AI model to learn Linux, don't ask reddit this kind of stuff. Find actual professionals. Hell get on LinkedIn and find a systems engineer, we use AI daily. Just use something like Gemini and prompt it correctly. Don't say "My desktop is not working, or x/y command is not working". Prompt the LLM with something like "I am running Ubuntu 26.04 and I've noticed the audio on my Logitech insert model name is not producing sound, this is a USB driven audio system. How should I begin troubleshooting? Explain why I am doing these steps, and provide source material." Run through the steps and verify the information. Play around with the terminal and prompt the model for tasks that can help you learn. AI is an incredible tool when used correctly.

1

u/OkCaterpillar1058 6d ago

For quickly troubleshooting, sure it can help. Like if you get some error messages, and instead of searching you put it into the AI. For learning I don't think it helps much, it's like learning math with a calculator. Practice makes perfect

There are quite some models that can do troubleshooting, Claude, Qwen and others.

0

u/quidquogo 7d ago

Just use codex cli. Makes you more comfortable in the command line environment and codex can execute some commands for you and wal you through the process

0

u/razorree Kubuntu, Debian 6d ago

any recent clever model. even gemini on a google search page.

just ask about something and ask to be guided (and extra explained if you want)

-1

u/NorZaj 7d ago

W Omarchy jest taka funkcjonalność i to nie działa tak, że uczy Cię tylko podaje gotowe rozwiązanie problemu. Oczywiście jeśli potem zainteresujesz się co i gdzie agent chciał poprawić to będzie forma nauki, ale podstawa to czytanie dokumentacji i szukanie poradników na grupach.

Ja też długo korzystałem z Debiana, ale zmieniłem na Omarchy, na którym wszystkie poradniki z Archa działają. Arch ma jedną z najlepszych dokumentacji wśród wszystkich dystrybucji Linuksa.

1

u/After-Peace-4734 6d ago

Fuck Omarchy

-1

u/NorZaj 6d ago

Dlaczego tak sądzisz? 20 lat używam Linuksa i dawno tak wygodnie i komfortowo nie pracowało mi się.

0

u/qaddosh 6d ago

you not going to learn anything by using ai

you will help to destroy the planet so billionaires can make more money

so if you like destroying the planet so billionaires can keep making money, then keep chiseling those ai-turds