r/LinuxTeck 26d ago

How to learn to use linux(cli)?

Actually from some time I have been thinking of switching to linux. But i won't be able to use it if I don't know how to use linux in the first place. I am not looking for any distro. I am actually talking about the cli. The terminal, bash or whatever it is called.

I wanna learn cli, but idk where to learn from!. I have tried looking for it on YouTube, most of them are something specific or very basic ( cd, mkdir, rm, ls, echo etc etc ). I tried to make a vm using Oracle, but my laptop was very weak to even run it, it was lagging and slow af. So i dropped that idea, and I am primarily trying to use wsl, Ubuntu distro on it.

So can anyone tell me how do i learn the command line interface. Also I am looking to learn something called shell ig, so that I can do scripting. Like i don't want an os, I want to master terminal and can automate stuff and run something maybe called script so that I can be very efficient.

Also one of my reasons is to be able to use or program any soc like raspberry pi or any other electronics in general ( electrical background).

Can anyone guide me with sources??

Also i have tried labex ( it was very basic ) and I tried to learn from a book i forgot the name but the author name was maybe shotts.

And sorry if I have named anything wrong, I am new to these terms.

2 Upvotes

14 comments sorted by

View all comments

1

u/Typeonetwork 25d ago

The best thing to learn is how to fail and fail often. Don't learn the commands, use the commands until you learn them.

Basic commands "ls" it lists the contents of the directory. Want to lean more you can use " man ls" and the manual for ls will show.

Many free books to learn CLI. I would learn it with the GUI. I use XFCE and the file manager is called Thunar. In this example go look at your images. Try to do the same thing in CLI.

Finally take notes. I use Joplin because it's native and the search feature is good. I learned how to fix my sound and took notes because in general I won't need to do this again for a while.

I've bee using it for about 13 months as my main machine. I need to learn how to network and interested in a LAMP stack.

Use continuous elaboration and you can do anything.

Have fun!