r/linux4noobs • • 5d ago

learning/research How would you recommend learning the Linux terminal?

I'm completely new to Linux and have the Mint distro installed. I want to get comfortable with the terminal so I can eventually fulfil the "I use Arch btw" meme, but Mint seems to have a no-terminal option wherever I go. What would you recommend for someone like me: YouTube videos or channels, apps or sites designed to teach me, something not as intimidating as the wiki?

50 Upvotes

92 comments sorted by

14

u/minininjatriforceman 5d ago

I might get downvoted but ai is a huge resource in learning terminal commands.

1

u/Aetherfluxxx 5d ago

I do have Claude in my terminal currently. So sure, I could go a lifetime getting terminal results with no experience, but I want to be able to do shit without AI as well

1

u/minininjatriforceman 5d ago

Yeah you will get there. I would use it to figure out how commands work and stuff not to give you commands.

2

u/BranchLatter4294 5d ago

Start with the commands you used on your previous OS. Learn the Linux equivalents.

1

u/Aetherfluxxx 5d ago

I was a Windows user. But luckily for me it was only ~4 years and I can spend the rest of my life on Linux

1

u/BranchLatter4294 5d ago

So start with the Windows commands. They are largely the same. ls, mv, sudo, etc. are the same. The differences are minor... winget install on Windows would be apt get install on Debian based distros. If there are commands you didn't use on Windows, chances are you don't need to use them on Linux.

21

u/Dry_Physics2400 5d ago

Lots of bad suggestions so far. You can't learn it by just using it. You need something that teaches you what the magic words you put into it actually mean. There's a decent book The Linux Command Line, free, available online. Read two thirds of it or at least half then you'll be able to pick up new commands by reading man pages or other explanations.

4

u/fuldigor42 4d ago

Good recommendation. You need to understand the environment first before you can use it.

https://linuxcommand.org/tlcl.php

1

u/ObviouslyNotAMoose 4d ago

Swedish translation is (badly) done by a weakly prompted llm, sadly.

1

u/vibrant_plaza 3d ago

Download the PDF. Do the exercises in a spare folder so nothing important dies.

3

u/Over_Alfalfa_192 4d ago

Yep you’re right. I was told “just use it too” and it did me less than no good as I just stared a black screen for 2 days straight. After a few tutorials and having people walk me through it I understood a lot of it and also understood they why of the syntax (the why is really because someone out there decided this is how it goes)

3

u/jr735 5d ago

You can learn it by using it, if you use man pages. That's what used to be done all along

13

u/aerodynamic_toaster 5d ago

LearnLinuxTV on YouTube has a lot of decent content geared towards beginners. That channel excels at not assuming viewer knowledge.

As you get more comfortable, you'll likely find yourself referencing the man pages a lot ("man [cmd]" on the terminal brings up a manual page about the cmd, though it can be pretty technical). A big breakthrough for me was learning to read those and then discovering through man man (lol) that you can search using "man -k [term]" I think that's the way to terminal self sufficiency.

32

u/BobCorndog Your situation is not unique, just use mint or fedora kde 5d ago

Just use it.

But anyway, don’t worry about learning it if you don’t want to, and having a gui for everything really isn’t a problem if you just want to use your computer.

4

u/toon_link_776 5d ago

Yeah rather than using it on the daily where a simple file manager makes more sense, find something that you want to work with that actually needs terminal and use it for that. But if you don't have that, then just using it on the daily is probably good

2

u/semaj_2026 5d ago

Agreed. That is exactly how I learn CMD way back when ago. Do basic things like Execute programs from it, update your apps etc.

7

u/trifith 5d ago

Focus on the basic shell commands, and the concepts around using pipes to send the output of one command to the input of another.

Grep, sed, and awk too.

With a bit of practice, you'll be faster manipulating text via the shell than most other tools.

Pick an editor family. I like vim, but there are other options and if you learn them they do the job just as well.

5

u/Over_Alfalfa_192 4d ago

To start with mint, you’re gonna want to use the snap screen to have half your screen be terminal the other be the folder.

And just to start you’re gonna be navigating the command line. These aren’t sysadmin tasks, just to get you used to moving through it.

First command is pwd (present working directory). Have your folder be that same directory.

Next list what’s in the directory with “ls”… you should see the files and folders show up.

What if there are no files? Make some files with touch. What about folders? Make them with mkdir. As far as mint that’s maybe as far as you go. But once you know how to navigate the command line, next you’re going to find somewhere to install a server os line Ubuntu server.

On that server you’re gonna already know how to navigate the command line, now you’re gonna want to do stuff.

Apt is now your thing. You’re going to update the packages, upgrade them too. And also install a common package (httpd)

You’re gonna want to play with the network settings with nmtui

Then you’re gonna want to know how to make different users using “useradd” then managing their passwords with “passwd”

Next up is permissions with commands like chmod and chown

Finally you’ll manage system services with systemctl…

This is just the beginning and through the process you’ll want to use man <command> to get going

If this is vague, it’s intentionally so as I replied with the hopes that someone would say “what exactly are they talking about” and then realize it’s a command you c an put in and also search up

4

u/Janky-Code 4d ago

man

apropos, whatis, whereis, which, type

info, help, --help

Everything is command -options arguments

cat, grep, sort, uniq, wc, cut, tr, sed, awk, and find can do most of the work.

Learn vi. Your pinky fingers will thank you later.

3

u/AutoModerator 5d ago

There's a resources page in our wiki you might find useful!

Try this search for more information on this topic.

✻ Smokey says: take regular backups, try stuff in a VM, and understand every command before you press Enter! :)

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/Papa_Hube 5d ago

If you dont need it, dont learn it. Arch differs somewhat from Mint. Look at the Arch Wiki its pretty good documented. One of the best for Linux.

3

u/jerrywas_olds 5d ago

Ping Google

3

u/Litewallymex3 5d ago

I bought a textbook bundle on Humble Bundle about learning Linux. I read when I have time. It was the single most valuable source in my learning the terminal. I'm not at my computer, but if you're interested, I can give you the name of the textbook I read the most of.

3

u/Gimp_Ninja Arch 5d ago

Linux Journey is a great starting point. And as someone else recommended, the LearnLinuxTV YouTube channel is a fantastic source as well. Good luck!

3

u/DavidJohnMcCann 4d ago

I've used Linux for 25 years and I seldom use the terminal. And I have more sense than to use Arch.

1

u/Fuzy-78 4d ago

I'm an ancient as well. What are you running?

1

u/DavidJohnMcCann 3d ago

After 6 satisfactory years, I've just had PCLinuxOS die on me after an update — no-one else had the problem and no-one could solve it. I've just spent several days customising MX, only to find that I wont use my printer. The only usable suggestion at the forum was to change distros! Next stop, either Mageia or SolydX.

1

u/Fuzy-78 2d ago

I have never had a printer that did not work in Debian, I got an HP fax/printer/scanner thing from the 2000's and I use it wireless.

1

u/DavidJohnMcCann 2d ago

That's why mine works with Solyd and why I thought it would work in MX.

2

u/Fuzy-78 1d ago

It does. MX is Debian.

1

u/DavidJohnMcCann 1d ago

So you know my printer works with my OS, although you've never been to my flat to see? Only on reddit…

5

u/MobileBid7641 5d ago

I wouldn't. I've been on Mint as a daily driver for almost over ten years now, and this is all I know...

sudo apt update -y

sudo apt upgrade -y

sudo reboot

sudo apt autoremove -y

4

u/ap0r 5d ago

Yes, Mint has a very complete GUI. However, having not learned anything in 10 years is not a flex.

1

u/MobileBid7641 5d ago

Kind of a flex for Mint. Didn't say I didn't learn anything. Just terminal is minimally needed.

2

u/jr735 5d ago

The -y flag is a very bad recommendation for apt.

1

u/MobileBid7641 5d ago

I've had no problems

2

u/jr735 5d ago

That's not how best practices are written. The Debian forums would skewer you for this and the Debian sub would yank your comment.

Do you know where the risks lie?

1

u/MobileBid7641 5d ago

Wasn't writing best practices.

2

u/jr735 5d ago

I can see that.

When I see something that is potentially harmful, especially to users that don't know the pitfalls - and I include you in that - I will say something.

0

u/MobileBid7641 4d ago

Get fucked. I said you don't need to know terminal.

2

u/Alchemix-16 4d ago

You also said you didn’t learn anything, beside those commands in 10 years.

1

u/muffinman8679 2d ago

yeah.....but without the terminal, you'll never learn "linux".....you'll learn that one particular distros GUI....and if you can't hop from distro to distro.....you don't know linux.....and you sure as hell aren't going to be able going to be able to hop on bsd or a unix system and get anything done.....and hell.....if you're not going to learn "linux" you might as well stick to a playstation or an xbox........

1

u/Pal3-Assignment 4d ago

Why is it bad? In all my years I don’t think I ever was like nah don’t upgrade those packages

0

u/jr735 4d ago

It does happen. Most times, in a stable/LTS distribution, you're okay. It's that 0.1% of the time you won't like it, or if you slide into Debian testing or sid.

1

u/realxeltos 4d ago

you need a sudo for reboot on mint? (used/tried mint for a few minutes and decided I dont like cinnamon, never went back.)

1

u/MobileBid7641 4d ago

Nope! I just know how to do that in terminal

0

u/jr735 4d ago

No, you don't. Clearly, we have to be careful about the free advice at times. In Debian, by default, you need it. That doesn't apply in Mint.

1

u/realxeltos 3d ago

I did not know that in Debian you need sudo for reboot either..

1

u/jr735 3d ago

You do, at least in my implementation. The can be modified. Do remember that Debian is also used in server implementations, and you don't need ordinary users rebooting a server.

1

u/ap0r 5d ago

Welcome! The ride will be great.

For your question, I have a chapter dedicated to the terminal in my free newbie booklet:

https://docs.google.com/document/d/1fohN9UbbKdgjLFX_eeMZMpzVxa2C2UkUzIHM6eXhhvE/edit?usp=sharing

Here's an AI summary of the chapter:

The Terminal chapter frames the command line as a practical tool rather than a mandatory lifestyle, explaining that it is simply a program for interacting with the computer by typing instructions instead of pointing and clicking. While a graphical interface is often faster for everyday tasks, the terminal shines when actions become complex, need to be chained together, require troubleshooting, or benefit from automation. The text rejects both extremes—the loud minority who treat terminal mastery as a purity test and the quieter camp that insists everything can and should be done through GUIs—arguing instead that users should learn the basics at their own pace, use whichever method fits the job, and never run a command they do not understand. Launching it is straightforward (Ctrl+Alt+T or searching the menu), and a linked resource is offered for those who want to go further.

The second half of the chapter supplies a concise starter toolkit: core file and directory commands (ls, cd, cp, mv, rm, mkdir, pwd), utilities for inspection and filtering (man, whatis, grep, less, pipes and redirection), privilege and package tools (sudo, apt, chmod, chown), plus keyboard shortcuts that speed everyday work (Tab completion, history search with Ctrl+R, cursor movement, and screen clearing). Together these give newcomers enough practical footing to begin exploring without pressure, while underscoring that deeper competence grows naturally as comfort increases.

1

u/Aetherfluxxx 5d ago

Sir, Ma'am, whatever the hell, thank you for this blessing

2

u/ateAtoilet Born to daily drive Linux, forced to boot from a USB :( 5d ago

I started on Zorin and used the terminal by default there, maybe give that a go? Moved onto Arch now and will hopefully keep hopping out of curiosity. Strategy is just whenever you see an option to use a GUI, just use the terminal instead. Especially for anything to do with storage. Never use the app stores. I used the terminal by default because of bad GUI experiences and my friend using it by default when he helped me do stuff (he uses Endeavour). Now I just use it because I feel more in control and happy.

2

u/zombiehoosier 5d ago

You'll find that doing things in the terminal is most of time just faster. Example: Using a store to download and install a program is fast enough, but lets say you want several apps, one command listing all the programs you want and entering your password saves you from searching for the next app, clicking install, waiting, searching again....

2

u/jr735 5d ago

https://www.linuxcommand.org/tlcl.php

There's a free book here, with exercises.

1

u/Draxcer1 5d ago

https://labex.io/linuxjourney

gives 3 free VM sessions per day if you want the site to check your work n stuff

but you can also just use your own terminal to do everything and continue the lessons

then move on to

https://overthewire.org/wargames/bandit/

teach yourself to beat the game

1

u/This-Individual1813 5d ago

The way I did it is that I took a couple of Limux courses in college (ended up with an AA in it). Everything was done on the command line. But what really did it for me was setting up a little server box with no GUI installed. I hosted a web server, a proxy server, some MUDs, etc. I used SSH client to access the server unless there was some kind of network or boot issue. That will learn you the terminal.

You can also install the GUI, but not have it auto start.

1

u/theNbomr 5d ago

Just start being aware of procedures you use that are highly repetitive and user intensive. These are the things that can really harness the power of the shell (not terminal, technically), which is called bash in almost all cases, to iterate.

The shell is both an interactive command processor and a programming language. You'll need to invest a little time to learn the basic commandline usage. Along the way, you'll start to encounter a bunch of useful commands and syntax that you'll use over and over again. You'll also want to get an understanding of things like filesystem semantics, the process model, and especially the concept of IO redirection.

Armed with the basics, you'll be ready to start using the ability of the shell to do things repetitively. This works best when loops take in new data on each iteration, and the shell provides numerous ways to let you do so. You'll probably want to start with very simple loop structures that you can execute on one line in an interactive way. Then you can start committing things to script files, simply by writing the same interactive commands that you've learned to execute on the commandline to a text file that you can execute by running it.

In summary, start small and use what you learn to solve progressively larger and more complex problems. Learn more and more powerful methods as you go. Be patient; there's an abundance of things to learn.

To help out, there is also an abundance of training material in print and online in many forms.

1

u/Imnotyoursupervisor 5d ago

I have the LPIC certification for years and have run a lot of Linux clusters on EKS and stand-alone at work. So I get it.

What really surprised me was setting up my home media lab with Plex and the Arr stack.

You go through docker cli, fstab, cron jobs, docker compose, GitHub for DR (if you’re smart), gpt API to GitHub, WAF, east west communication, limited ssh access, headless servers, bastion access, you end up with tdarr nodes, GitHub runners, dual pihole DNS servers… tailscale, port forwarding, observability, webhooks, slack notifications…

Its this crazy rabbit hole that will teach a novice so much.

1

u/Prometheus2025 5d ago

I kept a log of different things that require the terminal. I still don't get it but for me basically LLM ai has been the best source to learn.

So just repeat the ones that you are familiar with and little by little you'll just get used to it.

1

u/Comprehensive-Desk60 5d ago

Terminal Fun is an app/snap program that assists you in learning terminal commands.

There is a website Https://linuxsurvival.com

Overthewire is another option. If you have Steam account, you can try Hacknet

1

u/IntelligentSpite6364 5d ago

Just using it for daily tasks.

1

u/Captain_Oysta_Cracka 5d ago

Yes. The case sensitivity will do you some good 👍

1

u/StrongMarsupial4875 5d ago

Bro honestly study for the comptia Linux +

After I passed that I felt miles better at Linux commands than before.

1

u/rcentros 5d ago

YouTube, the man pages or a good shell scripting book.

I don't quite know what you mean by "Mint seems to have a no-terminal option wherever I go." Unless you plan on not using any desktop with Arch, it's going to be the same.

I use the terminal a lot in Mint. I started out with computers in the early to mid 80s, so I've been using "terminals" for many years and I'm comfortable with them. I write a few very simple shell scripts to automate tasks. I'm not a programmer, so if I can do this, just about anyone should be able to. (I used to write small batch files in DOS, so it's pretty much the same thing -- except there's a lot more you can do with Linux shell scripts.)

1

u/Mydnight69 5d ago

Use it and do a lot of googling and AI to teach you the basics.

1

u/Howwasthatdoneagain 4d ago

Only if you want to.

Sometimes you may need to use it but following others instructions as explained on YouTube has done me just fine. I only have a limited understanding of the Terminal but I am not afraid of it.

1

u/billdehaan2 Mint Cinnamon 22.3 (zena) 4d ago

First of all, if you're using Mint, you can't fullfill the "I use Arch, btw", since it's not an Arch based distro.

More seriously, to use learn the terminal (the shell, actually), you have to use it. Assuming you were running Windows before, what batch files, or PowerShell scripts did you write? What problems were you trying to solve with them? Try to duplicate the same things in bash (the default), or another shell.

It's a lot easier to learn when you have a goal in mind other than simply "learn bash".

In my case, I had used Korn shell (ksh) on SunOS back in the 1990s, but that was 30 years ago. I had a lot of Windows scripts, including a very long one that ran as an overnight scheduled task to do network backups. I worked through it, section by section, rewriting it to be a cron job.

Once you get the basics down (environment variables, if/else, loops, comparisons), and you're comfortable with them, you'll start picking it up faster.

1

u/Powerpanda0 4d ago

Set up something/anything and only use the terminal. Set up SSH and try accessing your device with another computer. SSH is only the terminal so you'll need to learn some commands to do anything at all.

Set up docker or a Minecraft server or something. Google lots as you run into issues or are confused about something. For basic stuff AI is good but don't start there, only use it if you get really stuck.

One thing I wish I did earlier was to write notes as you learn things. Even the basic stuff cause you will forget a lot of things that you don't use frequently. Put the command and what it does plus any flags (like -a or -f) that you care about.

One very useful command for when you're in the terminal is to use " | grep [SearchText]" (| is called pipe) after a command that returns a lot of text. For example "man rm" for the manual on removing/deleting files. Without any flags it can only delete a single file, to delete multiple files recursively you need to include a flag. What flag? Search the man page for it. You could do this manually, and you'll learn a lot if you do, but if you want a quick answer do "man rm | grep recursive" which will return only the lines that contain the text "recursive" which will include the line telling you about the -r and -R flags.

The best way to learn is by doing so just try anything in the terminal. You will google lots of simple things but that's the best way to learn IMO.

1

u/-___-____-_-___- 4d ago edited 4d ago

Try this one, if you like: https://cmdchallenge.com/ If you don't know the answer try to avoid A.I. or search engines. Read the man pages by typing "man <command name>" into the console. You can search for the man pages online too if you're more comfortable with a browser. This is kind of the "old way" but it still works.

1

u/EngineerInTheMachine 4d ago

Practice. You don't need to know everything about the Terminal commands, you only dip into it when needed. So why fill your head with a load of useless information. It's not like the dark days of DOS, before Windows and other GUIs, when the only option was learning and using text commands.

1

u/OkCaterpillar1058 4d ago

It depends, for casual use you can just use it. But if you want to pass ceritificates or become really good at it, you can use practicelinux.com

1

u/DannoXYZ 4d ago

Learn like any uni course. Pick up some books on subject matter. CLI is just micro-steps bottom-line in Linux configuration. You want to start wih big-picture goals 1st, such as:

- how to set up ssh-server for remote management

- how to set up mgmt users & groups

- how to configure firewall to allow certain systems through and block others

- how to set up web-server

Then you learn individual CLI commands strung together in sequence to accomplish those results.

1

u/realxeltos 4d ago

You can just use LLM's to teach you basics of the terminal. No Mint does not have a no-terminal option. But they have made everything very user friendly by provided GUI for most things. But you can easily use the terminal in Mint to install apps and do everything what other distro's allow. Some commands are different between distros like Mint use apt, fedora uses dnf, arch uses pacman as their primary package managers. but underneath most distros are very similar and use the same commands to do stuff.

1

u/a1barbarian 4d ago

An excellent way to get to grips with linux. You can do three modules a day for free.

https://labex.io/

https://labex.io/linuxjourney

Have fun exploring penguin land. :-)

1

u/Sweet-Patootie9999 4d ago

Firstly, you need a point of reference. These could be man pages, or even Google has worked for me. "What does this command mean and where would be a time where I would use it?" I would start with getting around. Like pwd, cd, ls, making and removing directories. I would start here because you can mimic these actions in the Nemo file manager. There are a couple of videos on YouTube that explain the terminal very well. I tend to stick with freeCodeCamp. They've always worked for me, albeit the videos are quite long. Anyway, I hope this points you in a direction. good luck.

1

u/CountryEmotional4228 4d ago

The best way to learn is when you have no other alternatives and don't have a choice but to do it. Create that environment first. Example: Do your usual file explorer stuff only and only in the terminal (ls, mv, cp, cd,.. etc) for days. No cheating

1

u/doc_willis 4d ago

http://linuxjourney.com  (old)  and the newer http://Linuxjourney.org  sites are good to start with. 

The Explaining Computers  YouTube Channel videos is a  good starting point for learning. 

and the numerous bash books by O'Reilly 

1

u/Sowega_Pine 4d ago

Get Termux and Tailscale on your phone. SSH into another device and ask AI questions as you go. Learning on the go.

1

u/Alchemix-16 4d ago

Best learning is by doing. If you feel you want to have some structure to that “the linux command line” by William Shott is what you look for. The author maintains a free electronic version online.

1

u/othermore_ 4d ago

I think the best way to learn is having a purpose. Try to solve something specific, one thing at a time. E.g. if you need to move files from one location to another keeping their structure (sub-folders), or if you need to edit a file or replace all appearances of a word in a file... Once you have a specific challenge, force to do it only on the console (even if Mint gives you an easy alternative) research to see how you can tackle it, and don't just take the first option you see, play with it and try different ways.

Something that I believe would help you is trying to customize or do more complex stuff with your Linux. I haven't used Mint but I bet there are things you could do (such as setting up a web server, configuring a email system in the console to get alerts on your email when something fails, monitoring CPU temperature, enabling remote access via ssh....). Most of these things will force you to work with config files and other system commands.

So it's not "just use it", it's: find reasons to use it.

1

u/ungabunga-engineer Endeavour Astronaut 4d ago

>but Mint seems to have a no-terminal option wherever I go

Ctrl+Alt+T iirc

as for how to learn it: realize anything you do in GUI can be done in terminal, try to do daily usage operations in terminal such as but not limited to: create a file, write a text file, create a directory, change working directory, copy, move, rename, update your system, install a package etc.

you can both google " how to do x in x distro terminal" or look on the wikis. more importantly *if you do not understand a command learn about it until you do before you run it*

1

u/oyvaugh 4d ago

Dave Eddy: YouTube YSAP. Best to teach you commands to get started. And I use mint on one of my desktops and use the terminal more than the gui.

1

u/Fuzy-78 4d ago

Get a cheat sheet meme and use it as a desktop.

1

u/BeneficialUse933 3d ago edited 3d ago

Debian with XFCE. Just the right amount of difficulty to keep it interesting but super stable so you won’t demoralize yourself with a system breaking update. The real challenge for Arch isn’t installing it, it’s keeping it working through package updates.

Edit: You can also go in the deep end and stand up a headless server. Do something practical like set up a file share in samba. Buy a cheap mini PC on eBay and install Ubuntu Server on it (no gui at all) and configure it through SSH.

1

u/YouSensitive6573 2d ago

Weirdly, Google Gemini Learning.

1

u/purplemangot 1h ago

Fire up Claude or whatever LLM you prefer, doesn’t matter, this is a very well documented topic and they all handle it fine.

Decide on a small project you want to do.

Tell LLM what you want to do, have it walk you through it using all the commands to do it. Now you’ve done it.

Then..

Tell the LLM you want to learn why everything you just did was done that way, and that you want to learn and be tested. It’ll turn itself into your trainer if you ask it right.

Now you have an interactive trainer.

0

u/Jealous-Marsupial890 4d ago

>so I can eventually fulfil the "I use Arch btw" meme
There is no any reason to use terminal (except very basic utils) in a desktop OS nowadays.

0

u/Eric_Dawsby 5d ago

As the top comment said just use it, go to your /bin folder and read the manuel pages on different commands and try to use those rather than whatever gui option you have. If you don't know, typing "man" before a command will bring up it's manual pages