r/linuxquestions • u/mohamedibrahim456 • 14h ago
What’s a good beginner-friendly guide to using the Linux terminal
I’m using Linux and want to learn the basics of the command line so I can manage files and do everyday tasks without relying on the GUI too much. For example, I’d like to learn how to move folders, work with files, and save command output to a .txt file.
What tutorials or resources would you recommend for a beginner?
If you had only two days to learn the CLI, what would you focus on?
Thanks :)
1
Upvotes
1
u/pacpecpicpocpuc 14h ago
Try to do what you want to achieve. Google when you don't know how to. Repeat.
1
u/doc_willis 14h ago edited 14h 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.
1
u/tomscharbach 14h ago
I would start with The Linux Command Line for Beginners (Ubuntu Desktop Documentation) to get your feet on the ground and then materials from The Linux Handbook.
However, keep in mind that the command line is a tool, best learned by using the command line to do what you need to do or want to do.
I realize that you cannot do this with "only two days to learn the CLI" but after you are over the crunch, I would suggest settling down, devoting a two or three hours per week to figuring out how to do something that you do normally with menus and what now but using the command line instead.
You will be surprised, I think, how much you learn in a few months.
Learning by doing sticks.
1
u/Dashing_McHandsome 10h ago
You aren't going to learn hardly anything in two days. That is completely unrealistic. I have been using the command line for 30 years and I still pick up new things from time to time.
1
u/mredding 6h ago
Start with
ls, thencd. You want know that.is the current directory, and..is the previous. That's half the battle right there.nanois a popular text editor, you probably have it, and^represents the Ctrl key, so^Cis Ctrl + C. You propbably want to know thatsudogives you one-time narrow scope admin access to run a given command - you often need it to modify config files in/etcand exercise many system affectingsystemctlcommands, like when you start or stop a service.As for a tutorial, use Google AI as a mentor and tell it you want to tune your system for startup and shutdown, find and fix misconfigurations, tune disk and networking, and benchmark. Work WITH your AI, let it teach you as you go. Don't just copy and paste commands, read along, ask questions, tell the AI you're not familiar but want to learn, and write stuff out that it gives you. You'll develop the skill in no time, and your Linux system will be as fast as ever for it.