I really do think you should learn to use the Linux command line.
I really do think you should learn to use the Linux command line.
I really do think you should learn to use the Linux (or Mac, I suppose) command line if you can find the time at all. It is, genuinely, a dramatically more empowering way to use your computer than the alternative, and it will enable to think about your computer as a tool in ways that are completely different.
So much of what's wrong with "computing", in general, stems from systematic user disempowerment... I think most people my age are cognizant of the harms of young people today not being exposed to even the most basic underlying concepts like the existence of the file system as an independent thing from siloed apps. But a lot of us never took that step backwards of considering the ways in which graphical user interfaces are disempowering. The thing about terminal interfaces is that by nature they must expose every affordance; if something can be done within the system, then it must be doable by a user from the terminal. And those affordances talk to each other, can be automated and connected in ways that go significantly beyond simply being able to toggle something or do something.
There's just such a wealth of useful tools (in the
Linux world, at least) that exist as CLI applications.
magick is just always going to be better
than any graphical utility for doing stuff like
converting a png into a jpeg; rg is
always going to be the best way to search a
bunch of files for a snippet of text. Becoming
comfortable with it will eventually give you avenues
to make almost any task you do on the computer better.
I strongly cosign this post. The command line does a good job of being a lenticular system: one that's easy to use in simple straightforward ways while also providing a large amount of power when necessary[1]. Here are some absolute basics:
-
To access the command line from a desktop, run a program called something like "Terminal" or "Console". The exact program will depend on which flavor of Linux you're using, but it'll almost always come up if you search for "term". This application will look like a big old text box something like this:
This text that's displayed there,
nex3@framework16:~$is called the "command prompt", since it's prompting you to enter a command -
The terminal is your window to the command line. You can type commands in here, and the output of those commands will appear below. For example, if I use the
lscommand[2], it'll print the names of all the files and directories in the working directory.nex3@framework16:~$ ls bin code Desktop Documents Downloads Music Pictures Public src Templates Videos -
"Wait," I hear you ask, "what's the working directory?" Good question, friend! Every command line session takes place in a particular directory…